jpeg
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Aleksander Cynarski 2021-10-10 12:27:29 +02:00
parent 682480a244
commit 9678116d0f
Signed by: paramah
GPG Key ID: C4340BA42B9C173A
2 changed files with 36 additions and 34 deletions

View File

@ -37,22 +37,22 @@ steps:
# - master # - master
# depends_on: [ clone ] # depends_on: [ clone ]
- name: php7.4 # - name: php7.4
image: plugins/docker # image: plugins/docker
settings: # settings:
username: # username:
from_secret: hub_username # from_secret: hub_username
password: # password:
from_secret: hub_password # from_secret: hub_password
repo: # repo:
from_secret: hub_repo # from_secret: hub_repo
build_args: # build_args:
- PHP_VERSION=7.4-fpm-alpine3.13 # - PHP_VERSION=7.4-fpm-alpine3.13
tags: 7.4-alpine # tags: 7.4-alpine
when: # when:
branch: # branch:
- master # - master
depends_on: [ clone ] # depends_on: [ clone ]
# - name: php7.4-dev # - name: php7.4-dev
# image: plugins/docker # image: plugins/docker
@ -72,22 +72,22 @@ steps:
# - master # - master
# depends_on: [ clone ] # depends_on: [ clone ]
- name: php7.3 # - name: php7.3
image: plugins/docker # image: plugins/docker
settings: # settings:
username: # username:
from_secret: hub_username # from_secret: hub_username
password: # password:
from_secret: hub_password # from_secret: hub_password
repo: # repo:
from_secret: hub_repo # from_secret: hub_repo
build_args: # build_args:
- PHP_VERSION=7.3-fpm-alpine3.13 # - PHP_VERSION=7.3-fpm-alpine3.13
tags: 7.3-alpine # tags: 7.3-alpine
when: # when:
branch: # branch:
- master # - master
depends_on: [ clone ] # depends_on: [ clone ]
# - name: php7.3-dev # - name: php7.3-dev
# image: plugins/docker # image: plugins/docker

View File

@ -26,12 +26,14 @@ h2() {
h1 "Configure PHP modules" h1 "Configure PHP modules"
case $PHP_VERSION in case $PHP_VERSION in
'80' ) '80' )
h2 "Configure GD" h2 "Configure GD - 8.0"
docker-php-ext-configure gd \ docker-php-ext-configure gd \
--with-freetype-dir=/usr/lib/ \ --with-freetype-dir=/usr/lib/ \
--with-png-dir=/usr/lib/ \ --with-png-dir=/usr/lib/ \
--with-jpeg-dir=/usr/lib/ \ --with-jpeg-dir=/usr/lib/ \
--with-gd --with-gd \
--with-jpeg \
--with-webp
;; ;;
'74' ) '74' )
h2 "Configure GD" h2 "Configure GD"