From 779d8848e5e4412b5cc9212bf547a12d716d3d22 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 27 Oct 2023 14:19:20 +0200 Subject: [PATCH] Combining files in same dir in one COPY command. --- build.containerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.containerfile b/build.containerfile index 78430ff..bdf2b78 100755 --- a/build.containerfile +++ b/build.containerfile @@ -25,10 +25,7 @@ RUN apt-get update \ && gcc -o main main.c && ./main \ && find /tmp -mindepth 1 -delete -COPY build_source /usr/local/bin/ -COPY build_indep /usr/local/bin/ -COPY build_archdep /usr/local/bin/ -COPY build /usr/local/bin/ +COPY build_source build_indep build_archde build /usr/local/bin/ COPY --from=mini_sudo /usr/local/bin/sudo /usr/local/bin/sudo RUN groupadd dev && useradd -m -g dev dev USER dev