Clean up apt directories after we are done.

This commit is contained in:
Torben Nehmer 2018-11-08 22:12:44 +01:00
parent a62fa88008
commit 55a105f4ce

View File

@ -47,6 +47,7 @@ RUN set -ex; \
| xargs -rt apt-mark manual; \ | xargs -rt apt-mark manual; \
\ \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
apt-get clean ;\
rm -rf /var/lib/apt/lists/* ;\ rm -rf /var/lib/apt/lists/* ;\
\ \
# enable mod_rewrite # enable mod_rewrite