From 4db58c6a90ba635f8bd50de2c0f8cfdcac7a025b Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Tue, 25 May 2021 10:55:08 +0800 Subject: [PATCH] Revert "Dockerfile.distroless: workaround the pkg dependency on "/tmp"" This reverts commit cb5a551dd027ce4836b3ee14588b7de4ae7adbac. --- distribution/containers/Dockerfile.distroless | 4 ---- 1 file changed, 4 deletions(-) diff --git a/distribution/containers/Dockerfile.distroless b/distribution/containers/Dockerfile.distroless index aa741558..8fd44a99 100644 --- a/distribution/containers/Dockerfile.distroless +++ b/distribution/containers/Dockerfile.distroless @@ -22,10 +22,6 @@ RUN cp /sbin/tini-static /root/sysroot/bin/tini RUN chmod 0555 /root/sysroot/bin/* -# Create /tmp -RUN mkdir -p /root/sysroot/tmp -RUN chmod 1777 /root/sysroot/tmp - # Create 1001:1001 user RUN mkdir -p /root/sysroot/home/download RUN chown 1001:1001 /root/sysroot/home/download