fix cleanup

This commit is contained in:
Cabillot Julien 2018-05-14 13:55:46 -04:00
parent d75561e4f6
commit 9d579e39ab

View File

@ -8,14 +8,15 @@ RUN apt-get -qq update && \
apt-get -qq --yes remove --purge git-core && \ apt-get -qq --yes remove --purge git-core && \
apt-get -qq --yes autoremove --purge && \ apt-get -qq --yes autoremove --purge && \
apt-get -qq --yes clean all && \ apt-get -qq --yes clean all && \
rm -rf "/usr/share/doc/*" \ rm -rf "/usr/share/doc/"* \
"/var/cache/*" \ "/var/cache/"* \
"/var/lib/apt/lists/*" \ "/var/lib/apt/lists/"* \
"/usr/src/*" \ "/usr/src/"* \
"/var/cache/*" \ "/var/cache/"* \
"/var/log/"{apt/*,dpkg.log} \ "/var/log/"{apt/*,dpkg.log} \
"/var/www/html" \ "/var/www/html" \
"/tmp/*" "/tmp/"*
WORKDIR /cipherscan WORKDIR /cipherscan