Skip to content

Commit

Permalink
feat: add missing extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mtuchi committed Oct 10, 2019
1 parent e943afe commit 55a442a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,19 @@ WORKDIR /var/www
# # Clear cache
# RUN apt-get clean && rm -rf /var/lib/apt/lists/*

# Install dependencies & Clear cache &Install extensions
# Install dependencies & Clear cache & Install extensions
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
libicu-dev \
g++ \
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-install -j$(nproc) iconv \
&& docker-php-ext-install -j$(nproc) iconv pdo_mysql mbstring zip exif pcntl \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd
&& docker-php-ext-configure intl \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install intl

# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Expand Down

0 comments on commit 55a442a

Please sign in to comment.