Skip to content

Commit ec2e4c5

Browse files
committed
Add swift build to Dockerfile
1 parent e4004e6 commit ec2e4c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
FROM swift:latest
2+
3+
COPY . /lambda
4+
RUN cd /lambda/Example; swift build -c release
5+
RUN cp /lambda/Example/.build/x86_64-unknown-linux/release/Example /lambda/Example/.build/x86_64-unknown-linux/release/bootstrap

0 commit comments

Comments
 (0)