Skip to content

Commit

Permalink
Merge pull request ploi#269 from jkeyes/main
Browse files Browse the repository at this point in the history
fix: updating PHP version in Dockerfile
  • Loading branch information
Cannonb4ll authored Feb 2, 2024
2 parents 30a5e8a + 144765d commit 3c1a2da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM php:8.1.5-fpm-alpine3.15
FROM php:8.2-fpm-alpine3.18

WORKDIR /var/www/html

#install GD
RUN apk add --no-cache freetype libpng libjpeg-turbo \
RUN apk add --no-cache linux-headers freetype libpng libjpeg-turbo \
&& apk add --virtual build-deps freetype-dev libpng-dev libjpeg-turbo-dev \
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
&& nproc=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) \
Expand Down

0 comments on commit 3c1a2da

Please sign in to comment.