Same as spintek/php72 but with the php imagick extension and ghostscript.
1.7K
FROM phpdockerio/php72-fpm:latest
# Install openssh-agent
RUN which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) \
&& eval $(ssh-agent -s)
# Install apt-utils
RUN apt-get update \
&& apt-get -y --no-install-recommends install apt-utils
# Install PHP extensions
RUN apt-get update \
&& apt-get -y --no-install-recommends install php7.2-pgsql php7.2-mbstring php7.2-gd php7.2-imagick php7.2-soap php7.2-amqp php-xdebug ghostscript \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
# Intall make etc
RUN apt-get update \
&& apt-get -y install build-essential
# Install git
RUN apt-get update \
&& apt-get -y install git \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
# Install nodejs and yarn
RUN apt-get update \
&& apt-get -y install software-properties-common \
&& curl -sL https://deb.nodesource.com/setup_8.x | /bin/sh - \
&& apt-get -y install nodejs \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get -y install yarn
# Install composer
RUN curl -sS https://getcomposer.org/installer | php \
&& mv composer.phar /usr/local/bin/composer \
&& chmod +x /usr/local/bin/composer
Content type
Image
Digest
Size
305.1 MB
Last updated
almost 8 years ago
docker pull spintek/php72-imagick