Skip to content

Commit

Permalink
Remove /tmp/s6_overlay.tar.gz from image
Browse files Browse the repository at this point in the history
  • Loading branch information
Trigus42 committed Oct 6, 2021
1 parent e671516 commit 57bb200
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.compile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /

Expand Down

0 comments on commit 57bb200

Please sign in to comment.