From 64209da3e7ce0909865743e42c406491f7c3cc7b Mon Sep 17 00:00:00 2001 From: noogen Date: Sat, 11 May 2019 10:41:59 -0500 Subject: [PATCH] attempt to reduce size --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index a83533a..ad89e87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,10 @@ RUN cd /tmp \ && echo 'root' >> /etc/incron.allow \ && dpkg --configure -a \ && pecl channel-update pecl.php.net \ + && apt-get -y autoremove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && rm -f /core \ && /usr/bin/switch-php.sh "7.1" \ && pecl -d php_suffix=7.1 install -f --alldeps pcs igbinary couchbase imagick \ && git clone https://github.com/phpv8/v8js.git /tmp/v8js \