2018-05-18 21:20:22 +02:00
|
|
|
language: bash
|
|
|
|
services: docker
|
|
|
|
|
|
|
|
env:
|
|
|
|
- VARIANT=stable/apache
|
|
|
|
- VARIANT=stable/fpm
|
|
|
|
- VARIANT=stable/fpm-alpine
|
|
|
|
- VARIANT=develop/apache
|
|
|
|
- VARIANT=develop/fpm
|
|
|
|
- VARIANT=develop/fpm-alpine
|
|
|
|
|
|
|
|
install:
|
|
|
|
- git clone https://github.com/docker-library/official-images.git ~/official-images
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- env | sort
|
|
|
|
- cd "$VARIANT"
|
2018-05-22 20:15:36 +02:00
|
|
|
- slash='/'; image="friendica/server:${VARIANT//$slash/-}"
|
2018-05-18 21:20:22 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
- docker build -t "$image" .
|
|
|
|
- ~/official-images/test/run.sh "$image"
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
- docker images
|