FROM php:7.2-fpm-alpine RUN apk add --update --no-cache wget tar gzip icu-dev gmp gmp-dev freetype-dev zip libpng-dev libjpeg-turbo-dev libxml2-dev autoconf g++ make imagemagick-dev libtool geoip geoip-dev imagemagick bash git RUN cd /usr/share/GeoIP && wget -N https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz && tar xvzf GeoLite2-Country.tar.gz && wget -N https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz && tar xvzf GeoLite2-City.tar.gz && ls -la && mv GeoLite2-City_* GeoIPCity.dat RUN pecl install igbinary geoip-1.1.1 imagick redis-4.3.0 RUN docker-php-ext-install mysqli pdo_mysql gd mbstring gmp opcache gmp intl exif zip && docker-php-ext-configure gd --with-gd --with-freetype-dir=/usr/include/ --with-png-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && docker-php-ext-enable mysqli pdo_mysql redis imagick gd mbstring opcache gmp intl exif zip igbinary && apk del autoconf g++ libtool make && rm -rf /tmp/* /var/cache/apk/*
Content type
Image
Digest
Size
237.9 MB
Last updated
over 7 years ago
docker pull infoweb/php:7.2-fpm-alpine