Skip to content

Commit 08b516c

Browse files
committed
fix(docker): use --enable-gd instead of --with-gd
1 parent 706d961 commit 08b516c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

production.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM laravelphp/vapor:php81
33
# install gd
44
RUN apk add --no-cache freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev && \
55
docker-php-ext-configure gd \
6-
--with-gd \
6+
--enable-gd \
77
--with-freetype-dir=/usr/include/ \
88
--with-png-dir=/usr/include/ \
99
--with-jpeg-dir=/usr/include/ && \

staging.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM laravelphp/vapor:php81
33
# install gd
44
RUN apk add --no-cache freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev && \
55
docker-php-ext-configure gd \
6-
--with-gd \
6+
--enable-gd \
77
--with-freetype-dir=/usr/include/ \
88
--with-png-dir=/usr/include/ \
99
--with-jpeg-dir=/usr/include/ && \

0 commit comments

Comments
 (0)