We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a29ceee + 240c816 commit 729584dCopy full SHA for 729584d
docker/app/Dockerfile
@@ -1,11 +1,13 @@
1
FROM php:7-fpm
2
3
+ARG PECL_EXTENSIONS="apcu redis"
4
+
5
RUN apt-get -y update && \
6
apt-get -y install --no-install-recommends git unzip libpng-dev libjpeg-dev libfreetype6-dev libicu-dev libzip-dev libxml2-dev libxslt-dev libwebp-dev && \
7
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr && \
8
docker-php-ext-install -j$(nproc) pdo_mysql bcmath gd intl opcache zip soap xsl && \
- pecl install apcu && \
- docker-php-ext-enable apcu && \
9
+ pecl install $PECL_EXTENSIONS && \
10
+ docker-php-ext-enable $PECL_EXTENSIONS && \
11
apt-get clean && \
12
rm -r /var/lib/apt/lists/* && \
13
rm -rf /var/cache/apt/* && \
0 commit comments