diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-10-12 07:44:14 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-10-19 08:08:12 +0300 |
commit | c7455c433c6ff52cbf31480463a46b59a7d8062e (patch) | |
tree | 82702a8ece157812504ce5f3774159f9dd50b151 /docker/lamp | |
parent | d6b7267bc295cb39c55dfd7291cba3f0bb1cdf77 (diff) |
docker: better cleanup call
Diffstat (limited to 'docker/lamp')
-rw-r--r-- | docker/lamp/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/lamp/Dockerfile b/docker/lamp/Dockerfile index 516dc204..2736b11f 100644 --- a/docker/lamp/Dockerfile +++ b/docker/lamp/Dockerfile @@ -26,7 +26,7 @@ sed -i "s|^datadir.*|datadir = /data-ro/database|" /etc/mysql/mariadb.conf.d/90- # package cleanup apt-get autoremove -y; \ apt-get clean; \ -rm /var/lib/apt/lists/* -f; \ +find /var/lib/apt/lists -type f | xargs rm; \ rm -rf /usr/share/man/*; \ rm -rf /usr/share/doc/*; \ rm /var/cache/debconf/*-old; \ |