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 @@ -15,22 +15,22 @@ jobs:
15
15
fail-fast : true
16
16
matrix :
17
17
include :
18
- - dockerfile : ./5.9 /ubuntu/18.04/Dockerfile
18
+ - dockerfile : ./5.10 /ubuntu/18.04/Dockerfile
19
19
platforms : ' linux/amd64'
20
20
tags :
21
- - ghcr.io/swiftwasm/swift:5.9 -bionic
21
+ - ghcr.io/swiftwasm/swift:5.10 -bionic
22
22
- ghcr.io/swiftwasm/swift:bionic
23
- - dockerfile : ./5.9 /ubuntu/20.04/Dockerfile
23
+ - dockerfile : ./5.10 /ubuntu/20.04/Dockerfile
24
24
platforms : ' linux/amd64,linux/arm64'
25
25
tags :
26
- - ghcr.io/swiftwasm/swift:5.9 -focal
26
+ - ghcr.io/swiftwasm/swift:5.10 -focal
27
27
- ghcr.io/swiftwasm/swift:focal
28
- - dockerfile : ./5.9 /ubuntu/22.04/Dockerfile
28
+ - dockerfile : ./5.10 /ubuntu/22.04/Dockerfile
29
29
platforms : ' linux/amd64'
30
30
tags :
31
- - ghcr.io/swiftwasm/swift:5.9 -jammy
31
+ - ghcr.io/swiftwasm/swift:5.10 -jammy
32
32
- ghcr.io/swiftwasm/swift:jammy
33
- - ghcr.io/swiftwasm/swift:5.9
33
+ - ghcr.io/swiftwasm/swift:5.10
34
34
- ghcr.io/swiftwasm/swift:latest
35
35
steps :
36
36
- 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.10.0-RELEASE
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.10.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.10.0-RELEASE
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