Skip to content

Commit

Permalink
remove /var/cache/* for minor size savings
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed May 31, 2024
1 parent 5736461 commit bab1465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN set -x && \
apt-get autoremove -q -o APT::Autoremove::RecommendsImportant=0 -o APT::Autoremove::SuggestsImportant=0 -y && \
find /usr | grep -E "/__pycache__$" | xargs rm -rf || true && \
apt-get clean -q -y && \
rm -rf /src /tmp/* /var/lib/apt/lists/* /git && \
rm -rf /src /tmp/* /var/lib/apt/lists/* /git /var/cache/* && \
#
# Do some stuff for kx1t's convenience:
echo "alias dir=\"ls -alsv\"" >> /root/.bashrc && \
Expand Down

0 comments on commit bab1465

Please sign in to comment.