More cleanup for ubuntu-18.04 image
This commit is contained in:
parent
86dde833f2
commit
cbcedeaedb
|
@ -26,8 +26,9 @@ RUN set -x \
|
||||||
&& echo extension=mcrypt.so > /etc/php/7.2/cli/conf.d/20-mcrypt.ini \
|
&& 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=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 \
|
&& echo extension=sqlsrv.so > /etc/php/7.2/cli/conf.d/20-sqlsrv.ini \
|
||||||
# remove build software
|
# uninstall all headers and libraries
|
||||||
&& apt remove --auto-remove -y php7.2-dev php-pear build-essential unixodbc-dev \
|
&& apt-get purge -y -f --force-yes \
|
||||||
|
php7.2-dev php-pear build-essential libmcrypt-dev unixodbc-dev \
|
||||||
# perform image cleanup.
|
# perform image cleanup.
|
||||||
&& docker-run-bootstrap \
|
&& docker-run-bootstrap \
|
||||||
&& docker-image-cleanup
|
&& docker-image-cleanup
|
||||||
|
|
Loading…
Reference in New Issue
Block a user