Skip to content

Commit

Permalink
Combining files into one COPY command.
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-ntap authored and nanory committed Oct 31, 2023
1 parent 2d89cb9 commit 9c63dea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crossbuild.containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ RUN gcc --print-search-dir \
&& 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_archdep 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 9c63dea

Please sign in to comment.