Commit a05bf0e2 authored by Nguyen Hung Manh's avatar Nguyen Hung Manh
Browse files

Docker image now also includes imagick for image editing.

parent 4c4b097f
......@@ -19,7 +19,7 @@ services:
- wordpress
php:
image: hunnguye/php7.4-rc-alpine3.1-fpm-mysqli-armv7:7.4
image: hunnguye/php7.4-rc-alpine3.1-fpm-mysqli-armv7:7.4-imagick
#build: php
links:
# make sure you change your wp-config
......
FROM arm32v7/php:7.4-rc-fpm-alpine
#php7.4-rc-alpine3.1-fpm:latest
RUN docker-php-ext-install mysqli && \
docker-php-ext-install bcmath && \
docker-php-ext-install exif
RUN apk --no-cache add shadow && \
usermod -u 55 xfs && \
groupmod -g 55 xfs && \
usermod -u 33 www-data && \
groupmod -g 33 www-data
RUN apk --no-cache add shadow && \
usermod -u 55 xfs && \
groupmod -g 55 xfs && \
usermod -u 33 www-data && \
groupmod -g 33 www-data
# repository for easy php extension installation
ADD https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && sync && \
install-php-extensions imagick zip mysqli bcmath exif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment