Browse Source

Removed imagick install (now provided by upstream 7.3)

master
bkraul 10 months ago
parent
commit
f0d046360a
2 changed files with 5 additions and 6 deletions
  1. +3
    -4
      7.3/Dockerfile
  2. +2
    -2
      README.md

+ 3
- 4
7.3/Dockerfile View File

@ -13,23 +13,22 @@ RUN set -x \
&& echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile \
&& echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc \
&& /bin/bash -c "source ~/.bashrc" \
&& apt-install libmcrypt-dev libmagickwand-dev \
&& apt-install libmcrypt-dev \
# install the pecl extensions
&& pecl install mcrypt-1.0.2 \
&& pecl install sqlsrv \
&& pecl install pdo_sqlsrv \
&& pecl install igbinary \
&& pecl install imagick \
&& pecl install msgpack \
&& echo extension=mcrypt.so > /usr/local/etc/php/conf.d/20-mcrypt.ini \
&& echo extension=pdo_sqlsrv.so > /usr/local/etc/php/conf.d/30-pdo_sqlsrv.ini \
&& echo extension=sqlsrv.so > /usr/local/etc/php/conf.d/20-sqlsrv.ini \
&& echo extension=igbinary.so > /usr/local/etc/php/conf.d/20-igbinary.ini \
&& echo extension=imagick.so > /usr/local/etc/php/conf.d/20-imagick.ini \
&& echo extension=msgpack.so > /usr/local/etc/php/conf.d/20-msgpack.ini \
# uninstall all headers and libraries
&& apt-get purge -y -f --force-yes \
libmcrypt-dev libmagickwand-dev unixodbc-dev \
libmcrypt-dev unixodbc-dev \
# perform image cleanup.
&& docker-run-bootstrap \
&& docker-image-cleanup

+ 2
- 2
README.md View File

@ -10,8 +10,8 @@ This image is based on [webdevops/php](https://hub.docker.com/r/webdevops/php) i
| Tags | PHP Version | Distribution |
| -------------------- | ----------- | ----------------------- |
| latest, ubuntu-18.04 | 7.2.15 | Ubuntu 18.04.1 (bionic) |
| 7.3 | 7.3.2 | Debian 10 (buster) |
| latest, ubuntu-18.04 | 7.2.24 | Ubuntu 18.04.1 (bionic) |
| 7.3 | 7.3.11 | Debian 10 (buster) |
# Usage

Loading…
Cancel
Save