File tree Expand file tree Collapse file tree 4 files changed +142
-8
lines changed Expand file tree Collapse file tree 4 files changed +142
-8
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,20 @@ jobs:
11
11
fail-fast : true
12
12
matrix :
13
13
include :
14
- - dockerfile : ./5.7 /ubuntu/18.04/Dockerfile
14
+ - dockerfile : ./5.8 /ubuntu/18.04/Dockerfile
15
15
tags :
16
- - ghcr.io/swiftwasm/swift:5.7-bionic
17
- - ghcr.io/swiftwasm/swift:bionic
18
- - ghcr.io/swiftwasm/swift:5.7
19
- - ghcr.io/swiftwasm/swift:latest
20
- - dockerfile : ./5.7/ubuntu/20.04/Dockerfile
16
+ - ghcr.io/swiftwasm/swift:5.8-bionic
17
+ # - ghcr.io/swiftwasm/swift:bionic
18
+ - dockerfile : ./5.8/ubuntu/20.04/Dockerfile
21
19
tags :
22
- - ghcr.io/swiftwasm/swift:5.7-focal
23
- - ghcr.io/swiftwasm/swift:focal
20
+ - ghcr.io/swiftwasm/swift:5.8-focal
21
+ # - ghcr.io/swiftwasm/swift:focal
22
+ - dockerfile : ./5.8/ubuntu/22.04/Dockerfile
23
+ tags :
24
+ - ghcr.io/swiftwasm/swift:5.8-jammy
25
+ # - ghcr.io/swiftwasm/swift:jammy
26
+ - ghcr.io/swiftwasm/swift:5.8
27
+ # - ghcr.io/swiftwasm/swift:latest
24
28
steps :
25
29
- uses : actions/checkout@v3
26
30
- name : Set up Docker Buildx
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.8.0-RC
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-RC
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
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.8.0-RC
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
You can’t perform that action at this time.
0 commit comments