Removed imagick install (now provided by upstream 7.3)

master
bkraul 2019-11-01 06:54:37 -05:00
parent 6da4231427
commit 0cb27de924
5 changed files with 24 additions and 6 deletions

View File

@ -13,23 +13,21 @@ 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

View File

@ -10,8 +10,8 @@ This image is based on [webdevops/php-nginx](https://hub.docker.com/r/webdevops/
| 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

View File

@ -0,0 +1,10 @@
FROM webdevops/php-nginx:ubuntu-14.04
MAINTAINER Belman Kraul <bkraul@belmankraul.com>
RUN set -x \
&& apt update \
# install pre-requisites.
&& apt install smbclient samba-common -y \
# perform image cleanup.
&& docker-run-bootstrap \
&& docker-image-cleanup

6
ubuntu-14.04-samba/build Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
docker pull webdevops/php-nginx:ubuntu-14.04
docker build $1\
-t bkraul/php-nginx:ubuntu-14.04-samba \
.

4
ubuntu-14.04-samba/push Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
docker push bkraul/php-nginx:ubuntu-14.04-samba