diff --git a/ubuntu-18.04/Dockerfile b/ubuntu-18.04/Dockerfile index c3dc397..e0487ec 100644 --- a/ubuntu-18.04/Dockerfile +++ b/ubuntu-18.04/Dockerfile @@ -17,7 +17,7 @@ RUN set -x \ && /bin/bash -c "source ~/.bashrc" \ && apt-install php7.2-dev php-pear build-essential libmcrypt-dev \ # install the pecl extensions - && pecl install mcrypt-1.0.1 \ + && pecl install mcrypt-1.0.2 \ && pecl install sqlsrv \ && pecl install pdo_sqlsrv \ && echo extension=mcrypt.so > /etc/php/7.2/fpm/conf.d/20-mcrypt.ini \ @@ -26,9 +26,8 @@ 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 libmcrypt-dev unixodbc-dev \ + # remove build software + && apt remove --auto-remove -y php7.2-dev php-pear build-essential unixodbc-dev \ # perform image cleanup. && docker-run-bootstrap \ && docker-image-cleanup