diff --git a/Dockerfile b/Dockerfile index 5f5eaf7..8b55152 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,8 @@ RUN \ COPY ./build/s6-overlay-arch /tmp/s6-overlay-arch RUN \ wget https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-$(/tmp/s6-overlay-arch).tar.gz -O /tmp/s6_overlay.tar.gz; \ - tar xzf /tmp/s6_overlay.tar.gz -C / + tar xzf /tmp/s6_overlay.tar.gz -C /; \ + rm -r /tmp/* COPY rootfs / diff --git a/Dockerfile.compile b/Dockerfile.compile index a27328e..77992ca 100644 --- a/Dockerfile.compile +++ b/Dockerfile.compile @@ -88,7 +88,8 @@ RUN \ COPY ./build/s6-overlay-arch /tmp/s6-overlay-arch RUN \ wget https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-$(/tmp/s6-overlay-arch).tar.gz -O /tmp/s6_overlay.tar.gz; \ - tar xzf /tmp/s6_overlay.tar.gz -C / + tar xzf /tmp/s6_overlay.tar.gz -C /; \ + rm -r /tmp/* COPY rootfs /