From 25afcbbf0274cb84a721b7a5b3878b2542bea5b2 Mon Sep 17 00:00:00 2001 From: bkraul Date: Sun, 24 Feb 2019 15:31:55 -0600 Subject: [PATCH] More cleanup for ubuntu-18.04 image --- ubuntu-18.04/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ubuntu-18.04/Dockerfile b/ubuntu-18.04/Dockerfile index d406b84..4d30cb8 100644 --- a/ubuntu-18.04/Dockerfile +++ b/ubuntu-18.04/Dockerfile @@ -24,6 +24,9 @@ RUN set -x \ && echo extension=mcrypt.so > /etc/php/7.2/cli/conf.d/20-mcrypt.ini \ && echo extension=pdo_sqlsrv.so > /etc/php/7.2/cli/conf.d/30-pdo_sqlsrv.ini \ && echo extension=sqlsrv.so > /etc/php/7.2/cli/conf.d/20-sqlsrv.ini \ + # uninstall all headers and libraries + && apt-get purge -y -f --force-yes \ + php7.2-dev php-pear build-essential unixodbc-dev \ # perform image cleanup. && docker-run-bootstrap \ && docker-image-cleanup