File tree Expand file tree Collapse file tree 4 files changed +148
-7
lines changed Expand file tree Collapse file tree 4 files changed +148
-7
lines changed Original file line number Diff line number Diff line change @@ -11,22 +11,22 @@ jobs:
11
11
fail-fast : true
12
12
matrix :
13
13
include :
14
- - dockerfile : ./5.8 /ubuntu/18.04/Dockerfile
14
+ - dockerfile : ./5.9 /ubuntu/18.04/Dockerfile
15
15
platforms : ' linux/amd64'
16
16
tags :
17
- - ghcr.io/swiftwasm/swift:5.8 -bionic
17
+ - ghcr.io/swiftwasm/swift:5.9 -bionic
18
18
- ghcr.io/swiftwasm/swift:bionic
19
- - dockerfile : ./5.8 /ubuntu/20.04/Dockerfile
19
+ - dockerfile : ./5.9 /ubuntu/20.04/Dockerfile
20
20
platforms : ' linux/amd64,linux/arm64'
21
21
tags :
22
- - ghcr.io/swiftwasm/swift:5.8 -focal
22
+ - ghcr.io/swiftwasm/swift:5.9 -focal
23
23
- ghcr.io/swiftwasm/swift:focal
24
- - dockerfile : ./5.8 /ubuntu/22.04/Dockerfile
24
+ - dockerfile : ./5.9 /ubuntu/22.04/Dockerfile
25
25
platforms : ' linux/amd64'
26
26
tags :
27
- - ghcr.io/swiftwasm/swift:5.8 -jammy
27
+ - ghcr.io/swiftwasm/swift:5.9 -jammy
28
28
- ghcr.io/swiftwasm/swift:jammy
29
- - ghcr.io/swiftwasm/swift:5.8
29
+ - ghcr.io/swiftwasm/swift:5.9
30
30
- ghcr.io/swiftwasm/swift:latest
31
31
steps :
32
32
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:18.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
+ gcc-8 \
10
+ libatomic1 \
11
+ libcurl4 \
12
+ libxml2 \
13
+ libedit2 \
14
+ libsqlite3-0 \
15
+ libc6-dev \
16
+ binutils \
17
+ libgcc-5-dev \
18
+ libstdc++-5-dev \
19
+ zlib1g-dev \
20
+ libpython2.7 \
21
+ tzdata \
22
+ git \
23
+ pkg-config \
24
+ software-properties-common \
25
+ && add-apt-repository ppa:ubuntu-toolchain-r/test \
26
+ && apt-get -q update \
27
+ && apt-get -q install -y --only-upgrade libstdc++6 \
28
+ && rm -r /var/lib/apt/lists/*
29
+
30
+
31
+ ARG SWIFT_TAG=swift-wasm-5.9-SNAPSHOT-2024-01-12-a
32
+ ENV SWIFT_PLATFORM_SUFFIX=ubuntu18.04_x86_64.tar.gz
33
+ ENV SWIFT_TAG=$SWIFT_TAG
34
+
35
+ RUN set -e; \
36
+ SWIFT_BIN_URL="https://github.com/swiftwasm/swift/releases/download/$SWIFT_TAG/$SWIFT_TAG-$SWIFT_PLATFORM_SUFFIX" \
37
+ && export DEBIAN_FRONTEND=noninteractive \
38
+ && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \
39
+ && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz \
40
+ && tar -xzf swift.tar.gz --directory / --strip-components=1 \
41
+ && chmod -R o+r /usr/lib/swift \
42
+ && rm -rf swift.tar.gz \
43
+ && apt-get purge --auto-remove -y curl
44
+
45
+ # Print Installed Swift Version
46
+ RUN swift --version
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.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.8.0-RELEASE
28
+ ENV SWIFT_PLATFORM=ubuntu20.04
29
+ ENV SWIFT_TAG=$SWIFT_TAG
30
+
31
+ RUN set -e; \
32
+ ARCH_NAME="$(dpkg --print-architecture)" ; \
33
+ url=; \
34
+ case "${ARCH_NAME##*-}" in \
35
+ 'amd64' ) \
36
+ OS_ARCH_SUFFIX='x86_64' ; \
37
+ ;; \
38
+ 'arm64' ) \
39
+ OS_ARCH_SUFFIX='aarch64' ; \
40
+ ;; \
41
+ *) echo >&2 "error: unsupported architecture: '$ARCH_NAME'" ; exit 1 ;; \
42
+ esac; \
43
+ SWIFT_BIN_URL="https://github.com/swiftwasm/swift/releases/download/$SWIFT_TAG/$SWIFT_TAG-${SWIFT_PLATFORM}_${OS_ARCH_SUFFIX}.tar.gz" \
44
+ && export DEBIAN_FRONTEND=noninteractive \
45
+ && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \
46
+ && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz \
47
+ && tar -xzf swift.tar.gz --directory / --strip-components=1 \
48
+ && chmod -R o+r /usr/lib/swift \
49
+ && rm -rf swift.tar.gz \
50
+ && apt-get purge --auto-remove -y curl
51
+
52
+ # Print Installed Swift Version
53
+ RUN swift --version
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.9-SNAPSHOT-2024-01-12-a
28
+ ENV SWIFT_PLATFORM_SUFFIX=ubuntu22.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
You can’t perform that action at this time.
0 commit comments