File tree 8 files changed +164
-105
lines changed
8 files changed +164
-105
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ needs to be listed here.
16
16
- Johannes Weiss <
[email protected] >
17
17
- Norman Maurer <
[email protected] >
18
18
19
+
19
20
20
21
**Updating this list**
21
22
Original file line number Diff line number Diff line change 1
1
FROM swiftlang/swift:nightly-master-amazonlinux2
2
2
3
- RUN yum -y install git zip
3
+ RUN yum -y install zip
Original file line number Diff line number Diff line change 1
1
FROM swiftlang/swift:nightly-master-amazonlinux2
2
2
3
- RUN yum -y install git zip
3
+ RUN yum -y install zip
Original file line number Diff line number Diff line change 1
- ARG swift_version=5.0
2
- ARG ubuntu_version=bionic
3
- ARG base_image=swift:$swift_version-$ubuntu_version
1
+ ARG swift_version=5.2
2
+ # FIXME when 5.2 images are available
3
+ # ARG base_image=swift:$swift_version-amazonlinux2
4
+ ARG base_image=swiftlang/swift:nightly-amazonlinux2
4
5
FROM $base_image
5
6
# needed to do again after FROM due to docker limitation
6
7
ARG swift_version
7
- ARG ubuntu_version
8
-
9
- # set as UTF-8
10
- RUN apt-get update && apt-get install -y locales locales-all
11
- ENV LC_ALL en_US.UTF-8
12
- ENV LANG en_US.UTF-8
13
- ENV LANGUAGE en_US.UTF-8
14
8
15
9
# dependencies
16
- RUN apt-get update && apt-get install -y wget
17
- RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools curl jq # used by integration tests
18
-
19
- # ruby and jazzy for docs generation
20
- RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev
21
- RUN gem install jazzy --no-ri --no-rdoc
10
+ RUN yum install -y wget perl-Digest-SHA
11
+ RUN yum install -y lsof dnsutils netcat-openbsd net-tools curl jq # used by integration tests
22
12
23
13
# tools
24
14
RUN mkdir -p $HOME/.tools
Original file line number Diff line number Diff line change
1
+ ARG swift_version=5.0
2
+ ARG ubuntu_version=bionic
3
+ ARG base_image=swift:$swift_version-$ubuntu_version
4
+ FROM $base_image
5
+ # needed to do again after FROM due to docker limitation
6
+ ARG swift_version
7
+ ARG ubuntu_version
8
+
9
+ # set as UTF-8
10
+ RUN apt-get update && apt-get install -y locales locales-all
11
+ ENV LC_ALL en_US.UTF-8
12
+ ENV LANG en_US.UTF-8
13
+ ENV LANGUAGE en_US.UTF-8
14
+
15
+ # dependencies
16
+ RUN apt-get update && apt-get install -y wget
17
+ RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools curl jq # used by integration tests
18
+
19
+ # ruby and jazzy for docs generation
20
+ RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev
21
+ RUN gem install jazzy --no-ri --no-rdoc
22
+
23
+ # tools
24
+ RUN mkdir -p $HOME/.tools
25
+ RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
26
+
27
+ # script to allow mapping framepointers on linux (until part of the toolchain)
28
+ RUN wget -q https://raw.githubusercontent.com/apple/swift/master/utils/symbolicate-linux-fatal -O $HOME/.tools/symbolicate-linux-fatal
29
+ RUN chmod 755 $HOME/.tools/symbolicate-linux-fatal
30
+
31
+ # swiftformat (until part of the toolchain)
32
+
33
+ ARG swiftformat_version=0.44.6
34
+ RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
35
+ RUN cd $HOME/.tools/swift-format && swift build -c release
36
+ RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ services:
5
5
runtime-setup :
6
6
image : swift-aws-lambda:18.04-5.2
7
7
build :
8
+ dockerfile : Dockerfile.ubuntu
8
9
args :
9
10
ubuntu_version : " bionic"
10
11
swift_version : " 5.2"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
image : swift-aws-lambda:18.04-5.3
7
7
build :
8
8
args :
9
- base_image : " swiftlang/swift:nightly-5.3-bionic "
9
+ base_image : " swiftlang/swift:nightly-amazonlinux2 "
10
10
11
11
test :
12
12
image : swift-aws-lambda:18.04-5.3
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments