File tree Expand file tree Collapse file tree 8 files changed +164
-105
lines changed Expand file tree Collapse file tree 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.
1616- Johannes Weiss <
[email protected] >
1717- Norman Maurer <
[email protected] >
181819+ 1920
2021**Updating this list**
2122
Original file line number Diff line number Diff line change 11FROM swiftlang/swift:nightly-master-amazonlinux2
22
3- RUN yum -y install git zip
3+ RUN yum -y install zip
Original file line number Diff line number Diff line change 11FROM swiftlang/swift:nightly-master-amazonlinux2
22
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
45FROM $base_image
56# needed to do again after FROM due to docker limitation
67ARG 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
148
159# 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
2212
2313# tools
2414RUN 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:
55 runtime-setup :
66 image : swift-aws-lambda:18.04-5.2
77 build :
8+ dockerfile : Dockerfile.ubuntu
89 args :
910 ubuntu_version : " bionic"
1011 swift_version : " 5.2"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
66 image : swift-aws-lambda:18.04-5.3
77 build :
88 args :
9- base_image : " swiftlang/swift:nightly-5.3-bionic "
9+ base_image : " swiftlang/swift:nightly-amazonlinux2 "
1010
1111 test :
1212 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