Skip to content

Commit

Permalink
add docker setup for 5.4 and head/main (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerd authored Feb 27, 2021
1 parent bfdeb75 commit d3e88bf
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docker/docker-compose.al2.54.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: "3"

services:

runtime-setup:
image: swift-aws-lambda:al2-5.4
build:
args:
base_image: "swiftlang/swift:nightly-5.4-amazonlinux2"

test:
image: swift-aws-lambda:al2-5.4

test-samples:
image: swift-aws-lambda:al2-5.4

shell:
image: swift-aws-lambda:al2-5.4
18 changes: 18 additions & 0 deletions docker/docker-compose.al2.main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: "3"

services:

runtime-setup:
image: swift-aws-lambda:al2-main
build:
args:
base_image: "swiftlang/swift:nightly-main-amazonlinux2"

test:
image: swift-aws-lambda:al2-main

test-samples:
image: swift-aws-lambda:al2-main

shell:
image: swift-aws-lambda:al2-main
2 changes: 1 addition & 1 deletion docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this file is not designed to be run directly
# instead, use the docker-compose.<os>.<swift> files
# eg docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.1804.52.yaml run test
# eg docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.al2.52.yaml run test
version: "3"

services:
Expand Down

0 comments on commit d3e88bf

Please sign in to comment.