Skip to content

Commit

Permalink
build: RUN cp not COPY (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 authored May 28, 2024
1 parent 503c637 commit b52ff51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/containers/Dockerfile.distroless
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN mv flood /root/sysroot/bin/flood


RUN apk --no-cache add tini-static coreutils
COPY /bin/df /root/sysroot/bin/df
RUN cp /bin/df /root/sysroot/bin/df
RUN cp /sbin/tini-static /root/sysroot/bin/tini

RUN chmod 0555 /root/sysroot/bin/*
Expand Down

0 comments on commit b52ff51

Please sign in to comment.