Set Swift version to 4.0.3 in Docker configuration (#89)

Motivation:
In order to target the latest version of Swift and address this issue https://github.com/apple/swift-nio/issues/83

Modifications:
Set the Swift version to the latest (4.0.3)

Result:
Uniform version of Swift across the Ubuntu Docker image and a passing
test suite on all target platforms
This commit is contained in:
Tiago Martinho 2018-03-12 10:47:46 +01:00 committed by Cory Benfield
parent c8d1980207
commit 8e98d84076
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ RUN cd $HOME/.curl && ./configure --with-ssl && make && make install && cd -
RUN ldconfig RUN ldconfig
# swift # swift
ARG version=4.0.2 ARG version=4.0.3
RUN mkdir $HOME/.swift RUN mkdir $HOME/.swift
RUN wget -q https://swift.org/builds/swift-${version}-release/ubuntu1404/swift-${version}-RELEASE/swift-${version}-RELEASE-ubuntu14.04.tar.gz -O $HOME/swift.tar.gz RUN wget -q https://swift.org/builds/swift-${version}-release/ubuntu1404/swift-${version}-RELEASE/swift-${version}-RELEASE-ubuntu14.04.tar.gz -O $HOME/swift.tar.gz
RUN tar xzf $HOME/swift.tar.gz --directory $HOME/.swift --strip-components=1 RUN tar xzf $HOME/swift.tar.gz --directory $HOME/.swift --strip-components=1