Skip to content

add docker-compose setup for amazon linux #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ARG swift_version=5.2
# FIXME when 5.2 images are available
#ARG base_image=swift:$swift_version-amazonlinux2
ARG base_image=swiftlang/swift:nightly-amazonlinux2
ARG base_image=swift:$swift_version-amazonlinux2
FROM $base_image
# needed to do again after FROM due to docker limitation
ARG swift_version
Expand Down
18 changes: 18 additions & 0 deletions docker/docker-compose.al2.52.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.2
build:
args:
swift_version: "5.2"

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

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

shell:
image: swift-aws-lambda:al2-5.2
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ version: "3"
services:

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

test:
image: swift-aws-lambda:18.04-5.3
image: swift-aws-lambda:al2-5.3

test-samples:
image: swift-aws-lambda:18.04-5.3
image: swift-aws-lambda:al2-5.3

shell:
image: swift-aws-lambda:18.04-5.3
image: swift-aws-lambda:al2-5.3