Skip to content

Commit

Permalink
Update dockerfile for php 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ohffs committed Mar 31, 2024
1 parent 5dfd22b commit 2674398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt-get update \
# install some OS packages we need
&& apt-get install -y --no-install-recommends tini libfreetype6-dev libjpeg62-turbo-dev libpng-dev libgmp-dev libldap2-dev netcat-openbsd curl sqlite3 libsqlite3-dev libzip-dev unzip vim-tiny gosu git \
# install php extensions
&& case "${PHP_VERSION}" in 7.4*|8.0*|8.1*|8.2*) docker-php-ext-configure gd --with-freetype --with-jpeg ;; *) docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ ;; esac \
&& case "${PHP_VERSION}" in 7.4*|8.0*|8.1*|8.2*|8.3*) docker-php-ext-configure gd --with-freetype --with-jpeg ;; *) docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ ;; esac \
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql pdo_sqlite zip gmp bcmath pcntl ldap sysvmsg exif \
# install the redis php extension
&& pecl install redis-${PHP_REDIS_VERSION} \
Expand Down

0 comments on commit 2674398

Please sign in to comment.