mirror of
https://github.com/danog/php.git
synced 2025-01-21 04:28:24 +01:00
91af36d706
See https://github.com/docker-library/php/pull/1028#issuecomment-649763859 for details -- Someone™ needs to dig into the `pdo_mysql` build issue for this to return: > `PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20190128/pdo_mysql.so (Error relocating /usr/local/lib/php/extensions/no-debug-zts-20190128/pdo_mysql.so: _tsrm_ls_cache: initial-exec TLS resolves to dynamic definition in /usr/local/lib/php/extensions/no-debug-zts-20190128/pdo_mysql.so)`
72 lines
2.2 KiB
YAML
72 lines
2.2 KiB
YAML
language: bash
|
|
services: docker
|
|
|
|
env:
|
|
- VERSION=8.0-rc VARIANT=buster/cli
|
|
- VERSION=8.0-rc VARIANT=buster/apache
|
|
- VERSION=8.0-rc VARIANT=buster/fpm
|
|
- VERSION=8.0-rc VARIANT=buster/zts
|
|
- VERSION=8.0-rc VARIANT=alpine3.12/cli
|
|
- VERSION=8.0-rc VARIANT=alpine3.12/fpm
|
|
- VERSION=7.4 VARIANT=buster/cli
|
|
- VERSION=7.4 VARIANT=buster/apache
|
|
- VERSION=7.4 VARIANT=buster/fpm
|
|
- VERSION=7.4 VARIANT=buster/zts
|
|
- VERSION=7.4 VARIANT=alpine3.12/cli
|
|
- VERSION=7.4 VARIANT=alpine3.12/fpm
|
|
- VERSION=7.4 VARIANT=alpine3.12/zts
|
|
- VERSION=7.4 VARIANT=alpine3.11/cli
|
|
- VERSION=7.4 VARIANT=alpine3.11/fpm
|
|
- VERSION=7.4 VARIANT=alpine3.11/zts
|
|
- VERSION=7.3 VARIANT=buster/cli
|
|
- VERSION=7.3 VARIANT=buster/apache
|
|
- VERSION=7.3 VARIANT=buster/fpm
|
|
- VERSION=7.3 VARIANT=buster/zts
|
|
- VERSION=7.3 VARIANT=stretch/cli
|
|
- VERSION=7.3 VARIANT=stretch/apache
|
|
- VERSION=7.3 VARIANT=stretch/fpm
|
|
- VERSION=7.3 VARIANT=stretch/zts
|
|
- VERSION=7.3 VARIANT=alpine3.12/cli
|
|
- VERSION=7.3 VARIANT=alpine3.12/fpm
|
|
- VERSION=7.3 VARIANT=alpine3.12/zts
|
|
- VERSION=7.3 VARIANT=alpine3.11/cli
|
|
- VERSION=7.3 VARIANT=alpine3.11/fpm
|
|
- VERSION=7.3 VARIANT=alpine3.11/zts
|
|
- VERSION=7.2 VARIANT=buster/cli
|
|
- VERSION=7.2 VARIANT=buster/apache
|
|
- VERSION=7.2 VARIANT=buster/fpm
|
|
- VERSION=7.2 VARIANT=buster/zts
|
|
- VERSION=7.2 VARIANT=stretch/cli
|
|
- VERSION=7.2 VARIANT=stretch/apache
|
|
- VERSION=7.2 VARIANT=stretch/fpm
|
|
- VERSION=7.2 VARIANT=stretch/zts
|
|
- VERSION=7.2 VARIANT=alpine3.12/cli
|
|
- VERSION=7.2 VARIANT=alpine3.12/fpm
|
|
- VERSION=7.2 VARIANT=alpine3.12/zts
|
|
- VERSION=7.2 VARIANT=alpine3.11/cli
|
|
- VERSION=7.2 VARIANT=alpine3.11/fpm
|
|
- VERSION=7.2 VARIANT=alpine3.11/zts
|
|
|
|
install:
|
|
- git clone https://github.com/docker-library/official-images.git ~/official-images
|
|
|
|
before_script:
|
|
- env | sort
|
|
- wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
|
|
- cd "$VERSION/$VARIANT"
|
|
- slash='/'; image="php:${VERSION}-${VARIANT//$slash/-}"
|
|
|
|
script:
|
|
- |
|
|
(
|
|
set -Eeuo pipefail
|
|
set -x
|
|
docker build -t "$image" .
|
|
~/official-images/test/run.sh "$image"
|
|
)
|
|
|
|
after_script:
|
|
- docker images
|
|
|
|
# vim:set et ts=2 sw=2:
|