Skip to content

Commit

Permalink
clean image after apt commands
Browse files Browse the repository at this point in the history
  • Loading branch information
q0rban committed Oct 11, 2023
1 parent 03b0b6f commit defd80c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ FROM debian:$FROM_TAG
RUN \
sed -e 's/^Components: main$/& contrib/g' -i /etc/apt/sources.list.d/debian.sources && \
apt-get update && \
apt-get install --yes --no-install-recommends zfsutils-linux
apt-get install --yes --no-install-recommends zfsutils-linux && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 comments on commit defd80c

Please sign in to comment.