Skip to content

Commit 8dfbcdd

Browse files
committed
Update soundess dockerfile
1 parent c8d0efb commit 8dfbcdd

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

docker/Dockerfile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG swift_version=5.0
2-
ARG ubuntu_version=bionic
1+
ARG swift_version=5.6
2+
ARG ubuntu_version=focal
33
ARG base_image=swift:$swift_version-$ubuntu_version
44
FROM $base_image
55
# needed to do again after FROM due to docker limitation
@@ -12,23 +12,13 @@ ENV LC_ALL en_US.UTF-8
1212
ENV LANG en_US.UTF-8
1313
ENV LANGUAGE en_US.UTF-8
1414

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 build-essential
21-
# jazzy no longer works on older version of ubuntu as ruby is too old.
22-
RUN if [ "${ubuntu_version}" = "focal" ] ; then echo "gem: --no-document" > ~/.gemrc ; fi
23-
RUN if [ "${ubuntu_version}" = "focal" ] ; then gem install jazzy ; fi
24-
2515
# tools
2616
RUN mkdir -p $HOME/.tools
2717
RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
2818

2919
# swiftformat (until part of the toolchain)
3020

31-
ARG swiftformat_version=0.51.2
21+
ARG swiftformat_version=0.51.7
3222
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
3323
RUN cd $HOME/.tools/swift-format && swift build -c release
3424
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat

0 commit comments

Comments
 (0)