mirror of
https://github.com/friendica/docker
synced 2024-06-15 23:47:54 +02:00
25 lines
513 B
YAML
25 lines
513 B
YAML
|
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"
|
||
|
- slash='/'; image="friendica:${VARIANT//$slash/-\"
|
||
|
|
||
|
script:
|
||
|
- docker build -t "$image" .
|
||
|
- ~/official-images/test/run.sh "$image"
|
||
|
|
||
|
after_script:
|
||
|
- docker images
|