File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:22.04
2
+
3
+ LABEL maintainer=
"SwiftWasm Maintainers <[email protected] >"
4
+ LABEL Description="Docker Container for the SwiftWasm toolchain and SDK"
5
+ LABEL org.opencontainers.image.source https://github.com/swiftwasm/swiftwasm-docker
6
+
7
+ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \
8
+ apt-get -q install -y \
9
+ binutils \
10
+ git \
11
+ gnupg2 \
12
+ libc6-dev \
13
+ libcurl4 \
14
+ libedit2 \
15
+ libgcc-9-dev \
16
+ libpython2.7 \
17
+ libsqlite3-0 \
18
+ libstdc++-9-dev \
19
+ libxml2 \
20
+ libz3-dev \
21
+ pkg-config \
22
+ tzdata \
23
+ zlib1g-dev \
24
+ && rm -r /var/lib/apt/lists/*
25
+
26
+
27
+ ARG SWIFT_TAG=swift-wasm-5.7.3-RELEASE
28
+ ENV SWIFT_PLATFORM_SUFFIX=ubuntu20.04_x86_64.tar.gz
29
+ ENV SWIFT_TAG=$SWIFT_TAG
30
+
31
+ RUN set -e; \
32
+ SWIFT_BIN_URL="https://github.com/swiftwasm/swift/releases/download/$SWIFT_TAG/$SWIFT_TAG-$SWIFT_PLATFORM_SUFFIX" \
33
+ && export DEBIAN_FRONTEND=noninteractive \
34
+ && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \
35
+ && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz \
36
+ && tar -xzf swift.tar.gz --directory / --strip-components=1 \
37
+ && chmod -R o+r /usr/lib/swift \
38
+ && rm -rf swift.tar.gz \
39
+ && apt-get purge --auto-remove -y curl
40
+
41
+ # Print Installed Swift Version
42
+ RUN swift --version
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
25
25
26
26
27
27
ARG SWIFT_TAG=swift-wasm-5.8.0-RELEASE
28
- ENV SWIFT_PLATFORM_SUFFIX=ubuntu20 .04_x86_64.tar.gz
28
+ ENV SWIFT_PLATFORM_SUFFIX=ubuntu22 .04_x86_64.tar.gz
29
29
ENV SWIFT_TAG=$SWIFT_TAG
30
30
31
31
RUN set -e; \
You can’t perform that action at this time.
0 commit comments