From b52ff510e3aa8ca88f1e0458da82dc2b9352afc1 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Wed, 29 May 2024 03:42:30 +0800 Subject: [PATCH] build: `RUN cp` not `COPY` (#755) --- distribution/containers/Dockerfile.distroless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/containers/Dockerfile.distroless b/distribution/containers/Dockerfile.distroless index 6e1d5c798..31f56f222 100644 --- a/distribution/containers/Dockerfile.distroless +++ b/distribution/containers/Dockerfile.distroless @@ -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/*