Corrected issues with mcrypt build
This commit is contained in:
parent
cbcedeaedb
commit
fc59e609a9
|
@ -17,7 +17,7 @@ RUN set -x \
|
||||||
&& /bin/bash -c "source ~/.bashrc" \
|
&& /bin/bash -c "source ~/.bashrc" \
|
||||||
&& apt-install php7.2-dev php-pear build-essential libmcrypt-dev \
|
&& apt-install php7.2-dev php-pear build-essential libmcrypt-dev \
|
||||||
# install the pecl extensions
|
# install the pecl extensions
|
||||||
&& pecl install mcrypt-1.0.1 \
|
&& pecl install mcrypt-1.0.2 \
|
||||||
&& pecl install sqlsrv \
|
&& pecl install sqlsrv \
|
||||||
&& pecl install pdo_sqlsrv \
|
&& pecl install pdo_sqlsrv \
|
||||||
&& echo extension=mcrypt.so > /etc/php/7.2/fpm/conf.d/20-mcrypt.ini \
|
&& 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=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 \
|
||||||
# uninstall all headers and libraries
|
# remove build software
|
||||||
&& apt-get purge -y -f --force-yes \
|
&& apt remove --auto-remove -y php7.2-dev php-pear build-essential unixodbc-dev \
|
||||||
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