This commit is contained in:
parent
b8b6d04023
commit
9f5e22fe89
15
Dockerfile
15
Dockerfile
@ -25,7 +25,17 @@ RUN apk add --no-cache wget \
|
|||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
sqlite sqlite-dev \
|
sqlite sqlite-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
libzip libzip-dev zip
|
libzip libzip-dev zip \
|
||||||
|
freetype-dev \
|
||||||
|
libpng-dev \
|
||||||
|
jpeg-dev \
|
||||||
|
libjpeg-turbo-dev
|
||||||
|
|
||||||
|
RUN docker-php-ext-configure gd \
|
||||||
|
--with-freetype-dir=/usr/lib/ \
|
||||||
|
--with-png-dir=/usr/lib/ \
|
||||||
|
--with-jpeg-dir=/usr/lib/ \
|
||||||
|
--with-gd
|
||||||
|
|
||||||
# Install php extensions
|
# Install php extensions
|
||||||
RUN docker-php-ext-install -j$(nproc) \
|
RUN docker-php-ext-install -j$(nproc) \
|
||||||
@ -56,7 +66,6 @@ RUN docker-php-ext-install -j$(nproc) \
|
|||||||
xml \
|
xml \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Final image
|
# Final image
|
||||||
#
|
#
|
||||||
@ -65,7 +74,7 @@ FROM php:${PHP_VERSION}
|
|||||||
ARG ENVIRONMENT=production
|
ARG ENVIRONMENT=production
|
||||||
|
|
||||||
# install system libs
|
# install system libs
|
||||||
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libzip shadow
|
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libzip shadow sudo
|
||||||
|
|
||||||
# Install apps
|
# Install apps
|
||||||
RUN apk add --no-cache wget curl bash git openssh supervisor nginx openssl zip
|
RUN apk add --no-cache wget curl bash git openssh supervisor nginx openssl zip
|
||||||
|
Loading…
Reference in New Issue
Block a user