2020-04-15 03:52:16 +00:00
|
|
|
FROM php:7.4-fpm
|
2019-11-16 09:50:54 +00:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
libfreetype6-dev \
|
|
|
|
libjpeg62-turbo-dev \
|
2020-04-15 03:52:16 +00:00
|
|
|
libzip-dev \
|
|
|
|
imagemagick \
|
2019-11-16 09:50:54 +00:00
|
|
|
libmcrypt-dev \
|
|
|
|
libpng-dev \
|
|
|
|
libpq-dev \
|
|
|
|
libxrender1 \
|
|
|
|
locales \
|
|
|
|
openssh-client \
|
|
|
|
patch \
|
|
|
|
unzip \
|
|
|
|
zlib1g-dev \
|
2020-04-15 03:52:16 +00:00
|
|
|
zip \
|
2019-11-16 09:50:54 +00:00
|
|
|
--no-install-recommends && \
|
|
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2020-04-15 03:52:16 +00:00
|
|
|
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
|
|
|
|
|
2019-11-16 09:50:54 +00:00
|
|
|
RUN cp /usr/share/i18n/SUPPORTED /etc/locale.gen
|
|
|
|
RUN locale-gen
|
|
|
|
|
|
|
|
RUN docker-php-ext-install \
|
|
|
|
gd \
|
2020-04-15 03:52:16 +00:00
|
|
|
bcmath \
|
2019-11-16 09:50:54 +00:00
|
|
|
pcntl \
|
2020-04-15 03:52:16 +00:00
|
|
|
pdo \
|
|
|
|
pdo_pgsql \
|
2019-11-16 09:50:54 +00:00
|
|
|
pdo_mysql \
|
2020-04-15 03:52:16 +00:00
|
|
|
zip
|