2015-04-03 00:11:51 +02:00
|
|
|
language: bash
|
2015-11-20 18:50:24 +01:00
|
|
|
services: docker
|
2015-04-03 00:11:51 +02:00
|
|
|
|
|
|
|
env:
|
2018-12-06 21:26:17 +01:00
|
|
|
- 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.8/cli
|
|
|
|
- VERSION=7.3 VARIANT=alpine3.8/fpm
|
|
|
|
- VERSION=7.3 VARIANT=alpine3.8/zts
|
2017-11-30 15:25:21 +01:00
|
|
|
- VERSION=7.2 VARIANT=stretch/cli
|
|
|
|
- VERSION=7.2 VARIANT=stretch/apache
|
|
|
|
- VERSION=7.2 VARIANT=stretch/fpm
|
|
|
|
- VERSION=7.2 VARIANT=stretch/zts
|
2018-07-17 15:04:00 +02:00
|
|
|
- VERSION=7.2 VARIANT=alpine3.8/cli
|
|
|
|
- VERSION=7.2 VARIANT=alpine3.8/fpm
|
|
|
|
- VERSION=7.2 VARIANT=alpine3.8/zts
|
2018-05-17 20:26:05 +02:00
|
|
|
- VERSION=7.1 VARIANT=stretch/cli
|
|
|
|
- VERSION=7.1 VARIANT=stretch/apache
|
|
|
|
- VERSION=7.1 VARIANT=stretch/fpm
|
|
|
|
- VERSION=7.1 VARIANT=stretch/zts
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=7.1 VARIANT=jessie/cli
|
2017-10-12 01:36:32 +02:00
|
|
|
- VERSION=7.1 VARIANT=jessie/apache
|
2017-10-11 23:20:04 +02:00
|
|
|
- VERSION=7.1 VARIANT=jessie/fpm
|
|
|
|
- VERSION=7.1 VARIANT=jessie/zts
|
2018-08-15 23:22:12 +02:00
|
|
|
- VERSION=7.1 VARIANT=alpine3.8/cli
|
|
|
|
- VERSION=7.1 VARIANT=alpine3.8/fpm
|
|
|
|
- VERSION=7.1 VARIANT=alpine3.8/zts
|
2015-04-03 00:11:51 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
- git clone https://github.com/docker-library/official-images.git ~/official-images
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- env | sort
|
2018-06-12 01:55:51 +02:00
|
|
|
- wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
|
2017-10-11 23:20:04 +02:00
|
|
|
- cd "$VERSION/$VARIANT"
|
2018-07-13 21:45:19 +02:00
|
|
|
- slash='/'; image="php:${VERSION}-${VARIANT//$slash/-}"
|
2015-04-03 00:11:51 +02:00
|
|
|
|
|
|
|
script:
|
2018-06-12 01:55:51 +02:00
|
|
|
- |
|
|
|
|
(
|
|
|
|
set -Eeuo pipefail
|
|
|
|
set -x
|
|
|
|
docker build -t "$image" .
|
|
|
|
~/official-images/test/run.sh "$image"
|
|
|
|
)
|
2015-04-03 00:11:51 +02:00
|
|
|
|
2015-08-08 01:32:20 +02:00
|
|
|
after_script:
|
|
|
|
- docker images
|
|
|
|
|
2015-04-03 00:11:51 +02:00
|
|
|
# vim:set et ts=2 sw=2:
|