Skip to content

Commit 32738c8

Browse files
committed
feat: add webp support
1 parent 32ccf35 commit 32738c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/deploy-image.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222

2323
- name: Log in to the Container registry
2424
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN set -ex && \
1414
libjpeg62-turbo-dev \
1515
libpng-dev \
1616
libgmp-dev \
17+
libwebp-dev \
1718
libxml2-dev \
1819
zlib1g-dev \
1920
libncurses5-dev \
@@ -41,7 +42,7 @@ RUN pecl install xdebug-3.1.1 \
4142
&& docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd \
4243
&& docker-php-ext-configure mysqli --with-mysqli=mysqlnd \
4344
&& docker-php-ext-configure opcache --enable-opcache \
44-
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
45+
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
4546
&& docker-php-ext-install -j$(nproc) mysqli pdo_mysql bcmath pcntl intl gmp mbstring gd soap zip opcache sockets
4647

4748
RUN wget https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar -O /usr/local/bin/composer && \

0 commit comments

Comments
 (0)