Skip to content

Commit eb2f31c

Browse files
authored
add ci setup for 5.2 (#31)
motivation: 5.2 is coming soon, need to test against that target version changes: add docker files setup for 5.2
1 parent e0b34c4 commit eb2f31c

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ARG swift_version=5.0
22
ARG ubuntu_version=bionic
3-
FROM swift:$swift_version-$ubuntu_version
3+
ARG base_image=swift:$swift_version-$ubuntu_version
4+
FROM $base_image
45
# needed to do again after FROM due to docker limitation
56
ARG swift_version
67
ARG ubuntu_version

docker/docker-compose.1804.52.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: "3"
2+
3+
services:
4+
5+
runtime-setup:
6+
image: swift-aws-lambda:18.04-5.2
7+
build:
8+
args:
9+
base_image: "swiftlang/swift:nightly-5.2-bionic"
10+
11+
test:
12+
image: swift-aws-lambda:18.04-5.2
13+
14+
shell:
15+
image: swift-aws-lambda:18.04-5.2

0 commit comments

Comments
 (0)