From 9678116d0f8689f91054cadfac5d4f62a5291919 Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Sun, 10 Oct 2021 12:27:29 +0200 Subject: [PATCH] jpeg --- .drone.yml | 64 +++++++++++++-------------- docker/usr/local/bin/php_configure.sh | 6 ++- 2 files changed, 36 insertions(+), 34 deletions(-) diff --git a/.drone.yml b/.drone.yml index c8345f6..d7599b2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,22 +37,22 @@ steps: # - master # depends_on: [ clone ] -- name: php7.4 - image: plugins/docker - settings: - username: - from_secret: hub_username - password: - from_secret: hub_password - repo: - from_secret: hub_repo - build_args: - - PHP_VERSION=7.4-fpm-alpine3.13 - tags: 7.4-alpine - when: - branch: - - master - depends_on: [ clone ] +# - name: php7.4 +# image: plugins/docker +# settings: +# username: +# from_secret: hub_username +# password: +# from_secret: hub_password +# repo: +# from_secret: hub_repo +# build_args: +# - PHP_VERSION=7.4-fpm-alpine3.13 +# tags: 7.4-alpine +# when: +# branch: +# - master +# depends_on: [ clone ] # - name: php7.4-dev # image: plugins/docker @@ -72,22 +72,22 @@ steps: # - master # depends_on: [ clone ] -- name: php7.3 - image: plugins/docker - settings: - username: - from_secret: hub_username - password: - from_secret: hub_password - repo: - from_secret: hub_repo - build_args: - - PHP_VERSION=7.3-fpm-alpine3.13 - tags: 7.3-alpine - when: - branch: - - master - depends_on: [ clone ] +# - name: php7.3 +# image: plugins/docker +# settings: +# username: +# from_secret: hub_username +# password: +# from_secret: hub_password +# repo: +# from_secret: hub_repo +# build_args: +# - PHP_VERSION=7.3-fpm-alpine3.13 +# tags: 7.3-alpine +# when: +# branch: +# - master +# depends_on: [ clone ] # - name: php7.3-dev # image: plugins/docker diff --git a/docker/usr/local/bin/php_configure.sh b/docker/usr/local/bin/php_configure.sh index 35617ba..15ca66a 100755 --- a/docker/usr/local/bin/php_configure.sh +++ b/docker/usr/local/bin/php_configure.sh @@ -26,12 +26,14 @@ h2() { h1 "Configure PHP modules" case $PHP_VERSION in '80' ) - h2 "Configure GD" + h2 "Configure GD - 8.0" docker-php-ext-configure gd \ --with-freetype-dir=/usr/lib/ \ --with-png-dir=/usr/lib/ \ --with-jpeg-dir=/usr/lib/ \ - --with-gd + --with-gd \ + --with-jpeg \ + --with-webp ;; '74' ) h2 "Configure GD"