dexter test

This commit is contained in:
Aleksander Cynarski 2022-06-05 22:49:25 +02:00
parent 59f7ad2e31
commit 09864c6d98
Signed by: paramah
GPG Key ID: C4340BA42B9C173A
3 changed files with 51 additions and 32 deletions

View File

@ -14,6 +14,7 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=8.1-fpm-alpine3.16
tags: 8.1-alpine
@ -34,6 +35,7 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=8.0-fpm-alpine3.16
tags: 8.0-alpine
@ -54,6 +56,7 @@ steps:
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=7.4-fpm-alpine3.16
tags: 7.4-alpine
@ -62,36 +65,47 @@ steps:
- master
depends_on: [ clone ]
# - name: php7.3
# image: thegeeklab/drone-docker-buildx
# 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: thegeeklab/drone-docker-buildx
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=7.3-fpm-alpine3.13
tags: 7.3-alpine
when:
branch:
- master
depends_on: [ clone ]
# - name: php7.2
# image: thegeeklab/drone-docker-buildx
# settings:
# username:
# from_secret: hub_username
# password:
# from_secret: hub_password
# repo:
# from_secret: hub_repo
# build_args:
# - PHP_VERSION=7.2-fpm-alpine3.12
# tags: 7.2-alpine
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.2
image: thegeeklab/drone-docker-buildx
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=7.2-fpm-alpine3.12
tags: 7.2-alpine
when:
branch:
- master
depends_on: [ clone ]
node: dexter

View File

@ -11,6 +11,7 @@ FROM php:${PHP_VERSION} as builder
RUN apk add --no-cache --virtual build-essentials build-base \
icu-dev icu-libs zlib-dev g++ make automake autoconf libzip-dev \
libpng-dev libwebp-dev libjpeg-turbo-dev freetype-dev \
tar \
wget \
curl \
bash \

View File

@ -82,6 +82,10 @@ case $PHP_VERSION in
h1 "Install iconv extension"
apk add --no-cache --virtual php7-iconv
;;
'73' )
h2 "[php74] Configure and install GD, JSON, MEMCACHE, ICONV"
apk add --no-cache --virtual php7-gd php7-json php7-pecl-memcache php7-iconv
;;
* )
h2 "Configure and install GD"
docker-php-ext-configure gd \