Skip to content

Commit

Permalink
Update deps (#9)
Browse files Browse the repository at this point in the history
* deps on own line and use --virtual marker with del

* Update Dockerfile
  • Loading branch information
EarthlingDavey authored Apr 26, 2024
1 parent 06dd4c1 commit 5065003
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,25 @@ RUN apk add --update bash \
libpng-dev \
libzip-dev \
libxml2-dev \
ghostscript imagemagick imagemagick-libs imagemagick-dev libjpeg-turbo libgomp freetype-dev \
ghostscript \
imagemagick \
imagemagick-libs \
imagemagick-dev \
libjpeg-turbo \
libgomp \
freetype-dev \
icu-dev \
htop \
mariadb-client \
$PHPIZE_DEPS
mariadb-client

RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS

RUN pecl install imagick
RUN docker-php-ext-enable imagick && \
docker-php-ext-configure intl && \
docker-php-ext-install -j "$(nproc)" exif gd zip mysqli opcache intl

RUN apk del $PHPIZE_DEPS
RUN apk del .build-deps $PHPIZE_DEPS

RUN echo "opcache.jit_buffer_size=500000000" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini

Expand Down

0 comments on commit 5065003

Please sign in to comment.