This commit is contained in:
parent
682480a244
commit
9678116d0f
64
.drone.yml
64
.drone.yml
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user