File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM php:7-fpm
1+ FROM docker.io/library/ php:7-fpm
22RUN apt-get update && apt-get install -y \
33 libcurl4-openssl-dev \
44 libicu-dev \
@@ -17,7 +17,9 @@ RUN apt-get update && apt-get install -y \
1717 busybox-static \
1818 libmagickwand-dev \
1919 && rm -rf /var/lib/apt/lists/*
20- RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
20+ RUN docker-php-ext-configure gd \
21+ --with-freetype \
22+ --with-jpeg
2123RUN docker-php-ext-configure ldap --with-libdir="lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"
2224RUN docker-php-ext-install \
2325 iconv \
@@ -36,10 +38,10 @@ RUN docker-php-ext-install \
3638 pdo_pgsql \
3739 pgsql \
3840 gettext
39- RUN pecl install APCu-5.1.17
40- RUN pecl install memcached-3.1.3
41- RUN pecl install redis-5.0.2
42- RUN pecl install mcrypt-1.0.3
41+ RUN yes '' | pecl install apcu
42+ RUN yes '' | pecl install memcached
43+ RUN yes '' | pecl install redis
44+ RUN yes '' | pecl install mcrypt
4345RUN docker-php-ext-enable \
4446 apcu \
4547 memcached \
You can’t perform that action at this time.
0 commit comments