File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
- ARG swift_version=5.4
1
+ ARG swift_version=5.7
2
2
ARG base_image=swift:$swift_version-amazonlinux2
3
3
FROM $base_image
4
4
# needed to do again after FROM due to docker limitation
@@ -14,7 +14,7 @@ RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
14
14
15
15
# swiftformat (until part of the toolchain)
16
16
17
- ARG swiftformat_version=0.47.3
17
+ ARG swiftformat_version=0.50.1
18
18
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
19
19
RUN cd $HOME/.tools/swift-format && swift build -c release
20
20
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+
5
+ runtime-setup :
6
+ image : swift-aws-lambda-events:al2-5.8
7
+ build :
8
+ args :
9
+ base_image : " swiftlang/swift:nightly-5.8-amazonlinux2"
10
+
11
+ test :
12
+ image : swift-aws-lambda-events:al2-5.8
13
+
14
+ test-samples :
15
+ image : swift-aws-lambda-events:al2-5.8
16
+
17
+ shell :
18
+ image : swift-aws-lambda-events:al2-5.8
You can’t perform that action at this time.
0 commit comments