Skip to content

Commit

Permalink
Combining files in same dir in one COPY command.
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-ntap committed Oct 27, 2023
1 parent bd4c71a commit 779d884
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 779d884

Please sign in to comment.