File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM php:7.3.2-fpm
2+
3+ # RUN echo "Install libs & PHP extensions"
4+ RUN apt-get update && apt-get install -y \
5+ zip \
6+ libzip-dev \
7+ git \
8+ libfreetype6-dev \
9+ libicu-dev \
10+ libjpeg62-turbo-dev \
11+ gettext \
12+ locales
13+
14+ RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen
15+
16+ RUN docker-php-ext-configure gettext --with-gettext=/usr/include/ \
17+ && docker-php-ext-install -j$(nproc) gettext \
18+ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
19+ && docker-php-ext-install -j$(nproc) \
20+ zip \
21+ pdo_mysql \
22+ gd \
23+ intl \
24+ bcmath
25+
26+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
27+
28+ USER www-data:www-data
You can’t perform that action at this time.
0 commit comments