Files
swift-nio/docker/docker-compose.1604.403.yaml
T
tomer doron 8914a5536e extend docker setup to multiple version of ubuntu and swift (#357)
Motivation: easier testing across different permutations of os and language versions

Modifications:

* update dockerfile to take both swift_version adn ubuntu_version
* update default linux version to 16.04
* create multiple docker-compose files that use arguments to define os and swift versions
* make docker-compose file DRYer with yaml anchors

Result: users/ci can easily run tests across various versions of ubuntu and swift
2018-05-01 08:56:39 +01:00

26 lines
392 B
YAML

version: "3"
services:
runtime-setup:
image: swift-nio:16.04-4.0.3
build:
args:
ubuntu_version : "16.04"
swift_version : "4.0.3"
unit-tests:
image: swift-nio:16.04-4.0.3
integration-tests:
image: swift-nio:16.04-4.0.3
test:
image: swift-nio:16.04-4.0.3
echo:
image: swift-nio:16.04-4.0.3
http:
image: swift-nio:16.04-4.0.3