mirror of
https://github.com/friendica/docker
synced 2024-11-14 01:23:41 +01:00
25 lines
520 B
YAML
25 lines
520 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/server:${VARIANT//$slash/-}"
|
|
|
|
script:
|
|
- docker build -t "$image" .
|
|
- ~/official-images/test/run.sh "$image"
|
|
|
|
after_script:
|
|
- docker images |