-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Swift 6.0 Dockerfiles to support Swift 6.0 release (#415)
- Loading branch information
1 parent
889dd9f
commit cd8fc32
Showing
16 changed files
with
1,173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
FROM amazonlinux:2 | ||
LABEL maintainer="Swift Infrastructure <[email protected]>" | ||
LABEL description="Docker Container for the Swift programming language" | ||
|
||
RUN yum -y install \ | ||
binutils \ | ||
gcc \ | ||
git \ | ||
unzip \ | ||
glibc-static \ | ||
gzip \ | ||
libbsd \ | ||
libcurl-devel \ | ||
libedit \ | ||
libicu \ | ||
libsqlite \ | ||
libstdc++-static \ | ||
libuuid \ | ||
libxml2-devel \ | ||
openssl-devel \ | ||
tar \ | ||
tzdata \ | ||
zlib-devel | ||
|
||
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little | ||
|
||
# pub rsa4096 2024-09-16 [SC] [expires: 2026-09-16] | ||
# 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
# uid [ unknown] Swift 6.x Release Signing Key <[email protected]> | ||
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
ARG SWIFT_PLATFORM=amazonlinux2 | ||
ARG SWIFT_BRANCH=swift-6.0-release | ||
ARG SWIFT_VERSION=swift-6.0-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
|
||
ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ | ||
SWIFT_PLATFORM=$SWIFT_PLATFORM \ | ||
SWIFT_BRANCH=$SWIFT_BRANCH \ | ||
SWIFT_VERSION=$SWIFT_VERSION \ | ||
SWIFT_WEBROOT=$SWIFT_WEBROOT | ||
|
||
RUN set -e; \ | ||
ARCH_NAME="$(rpm --eval '%{_arch}')"; \ | ||
url=; \ | ||
case "${ARCH_NAME##*-}" in \ | ||
'x86_64') \ | ||
OS_ARCH_SUFFIX=''; \ | ||
;; \ | ||
'aarch64') \ | ||
OS_ARCH_SUFFIX='-aarch64'; \ | ||
;; \ | ||
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac; \ | ||
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX" \ | ||
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz" \ | ||
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ | ||
&& echo $SWIFT_BIN_URL \ | ||
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. | ||
&& export GNUPGHOME="$(mktemp -d)" \ | ||
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ | ||
&& gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY" \ | ||
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \ | ||
# - Unpack the toolchain, set libs permissions, and clean up. | ||
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \ | ||
&& chmod -R o+r /usr/lib/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz | ||
|
||
# Print Installed Swift Version | ||
RUN swift --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
FROM amazonlinux:2 | ||
LABEL maintainer="Swift Infrastructure <[email protected]>" | ||
LABEL description="Docker Container for the Swift programming language" | ||
|
||
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little | ||
|
||
# pub rsa4096 2024-09-16 [SC] [expires: 2026-09-16] | ||
# 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
# uid [ unknown] Swift 6.x Release Signing Key <[email protected]> | ||
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
ARG SWIFT_PLATFORM=amazonlinux2 | ||
ARG SWIFT_BRANCH=swift-6.0-release | ||
ARG SWIFT_VERSION=swift-6.0-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
|
||
ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ | ||
SWIFT_PLATFORM=$SWIFT_PLATFORM \ | ||
SWIFT_BRANCH=$SWIFT_BRANCH \ | ||
SWIFT_VERSION=$SWIFT_VERSION \ | ||
SWIFT_WEBROOT=$SWIFT_WEBROOT | ||
|
||
RUN set -e; \ | ||
ARCH_NAME="$(rpm --eval '%{_arch}')"; \ | ||
url=; \ | ||
case "${ARCH_NAME##*-}" in \ | ||
'x86_64') \ | ||
OS_ARCH_SUFFIX=''; \ | ||
;; \ | ||
'aarch64') \ | ||
OS_ARCH_SUFFIX='-aarch64'; \ | ||
;; \ | ||
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac; \ | ||
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX" \ | ||
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz" \ | ||
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ | ||
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. | ||
&& export GNUPGHOME="$(mktemp -d)" \ | ||
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ | ||
&& gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY" \ | ||
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \ | ||
# - Unpack the toolchain, set libs permissions, and clean up. | ||
&& yum -y install tar gzip \ | ||
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \ | ||
$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/lib/swift/linux \ | ||
$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/libexec/swift/linux \ | ||
&& chmod -R o+r /usr/lib/swift /usr/libexec/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \ | ||
&& yum autoremove -y tar gzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
FROM debian:12 | ||
|
||
LABEL maintainer="Swift Infrastructure <[email protected]>" | ||
LABEL description="Docker Container for the Swift programming language" | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ | ||
apt-get -q install -y \ | ||
binutils-gold \ | ||
libicu-dev \ | ||
libcurl4-openssl-dev \ | ||
libedit-dev \ | ||
libsqlite3-dev \ | ||
libncurses-dev \ | ||
libpython3-dev \ | ||
libxml2-dev \ | ||
pkg-config \ | ||
uuid-dev \ | ||
tzdata \ | ||
git \ | ||
gcc \ | ||
&& rm -r /var/lib/apt/lists/* | ||
|
||
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little | ||
|
||
# pub rsa4096 2024-09-16 [SC] [expires: 2026-09-16] | ||
# 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
# uid [ unknown] Swift 6.x Release Signing Key <[email protected]> | ||
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
ARG SWIFT_PLATFORM=debian12 | ||
ARG SWIFT_BRANCH=swift-6.0-release | ||
ARG SWIFT_VERSION=swift-6.0-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
|
||
ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ | ||
SWIFT_PLATFORM=$SWIFT_PLATFORM \ | ||
SWIFT_BRANCH=$SWIFT_BRANCH \ | ||
SWIFT_VERSION=$SWIFT_VERSION \ | ||
SWIFT_WEBROOT=$SWIFT_WEBROOT | ||
|
||
RUN set -e; \ | ||
ARCH_NAME="$(dpkg --print-architecture)"; \ | ||
url=; \ | ||
case "${ARCH_NAME##*-}" in \ | ||
'amd64') \ | ||
OS_ARCH_SUFFIX=''; \ | ||
;; \ | ||
'arm64') \ | ||
OS_ARCH_SUFFIX='-aarch64'; \ | ||
;; \ | ||
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac; \ | ||
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX" \ | ||
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz" \ | ||
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ | ||
# - Grab curl and gpg here so we cache better up above | ||
&& export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -q update && apt-get -q install -y curl gpg && rm -rf /var/lib/apt/lists/* \ | ||
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. | ||
&& export GNUPGHOME="$(mktemp -d)" \ | ||
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ | ||
&& gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY" \ | ||
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \ | ||
# - Unpack the toolchain, set libs permissions, and clean up. | ||
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \ | ||
&& chmod -R o+r /usr/lib/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \ | ||
&& apt-get purge --auto-remove -y curl gpg | ||
|
||
# Print Installed Swift Version | ||
RUN swift --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
FROM debian:12 | ||
LABEL maintainer="Swift Infrastructure <[email protected]>" | ||
LABEL description="Docker Container for the Swift programming language" | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ | ||
apt-get -q install -y \ | ||
libcurl4 \ | ||
libxml2 \ | ||
tzdata \ | ||
&& rm -r /var/lib/apt/lists/* | ||
|
||
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little | ||
|
||
# pub rsa4096 2024-09-16 [SC] [expires: 2026-09-16] | ||
# 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
# uid [ unknown] Swift 6.x Release Signing Key <[email protected]> | ||
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
ARG SWIFT_PLATFORM=debian12 | ||
ARG SWIFT_BRANCH=swift-6.0-release | ||
ARG SWIFT_VERSION=swift-6.0-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
|
||
ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ | ||
SWIFT_PLATFORM=$SWIFT_PLATFORM \ | ||
SWIFT_BRANCH=$SWIFT_BRANCH \ | ||
SWIFT_VERSION=$SWIFT_VERSION \ | ||
SWIFT_WEBROOT=$SWIFT_WEBROOT | ||
|
||
RUN set -e; \ | ||
ARCH_NAME="$(dpkg --print-architecture)"; \ | ||
url=; \ | ||
case "${ARCH_NAME##*-}" in \ | ||
'amd64') \ | ||
OS_ARCH_SUFFIX=''; \ | ||
;; \ | ||
'arm64') \ | ||
OS_ARCH_SUFFIX='-aarch64'; \ | ||
;; \ | ||
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac; \ | ||
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX" \ | ||
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz" \ | ||
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ | ||
# - Grab curl and gpg here so we cache better up above | ||
&& export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -q update && apt-get -q install -y curl gpg && rm -rf /var/lib/apt/lists/* \ | ||
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. | ||
&& export GNUPGHOME="$(mktemp -d)" \ | ||
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ | ||
&& gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY" \ | ||
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \ | ||
# - Unpack the toolchain, set libs permissions, and clean up. | ||
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \ | ||
$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/lib/swift/linux \ | ||
$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/libexec/swift/linux \ | ||
&& chmod -R o+r /usr/lib/swift /usr/libexec/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \ | ||
&& apt-get purge --auto-remove -y curl gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
FROM fedora:39 | ||
|
||
LABEL maintainer="Swift Infrastructure <[email protected]>" | ||
LABEL description="Docker Container for the Swift programming language" | ||
|
||
RUN yum -y install \ | ||
binutils \ | ||
gcc \ | ||
git \ | ||
unzip \ | ||
libcurl-devel \ | ||
libedit-devel \ | ||
libicu-devel \ | ||
sqlite-devel \ | ||
libuuid-devel \ | ||
libxml2-devel \ | ||
python3-devel | ||
|
||
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little | ||
|
||
# pub rsa4096 2024-09-16 [SC] [expires: 2026-09-16] | ||
# 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
# uid [ unknown] Swift 6.x Release Signing Key <[email protected]> | ||
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
ARG SWIFT_PLATFORM=fedora39 | ||
ARG SWIFT_BRANCH=swift-6.0-release | ||
ARG SWIFT_VERSION=swift-6.0-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
|
||
ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ | ||
SWIFT_PLATFORM=$SWIFT_PLATFORM \ | ||
SWIFT_BRANCH=$SWIFT_BRANCH \ | ||
SWIFT_VERSION=$SWIFT_VERSION \ | ||
SWIFT_WEBROOT=$SWIFT_WEBROOT | ||
|
||
RUN set -e; \ | ||
ARCH_NAME="$(rpm --eval '%{_arch}')"; \ | ||
url=; \ | ||
case "${ARCH_NAME##*-}" in \ | ||
'x86_64') \ | ||
OS_ARCH_SUFFIX=''; \ | ||
;; \ | ||
'aarch64') \ | ||
OS_ARCH_SUFFIX='-aarch64'; \ | ||
;; \ | ||
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac; \ | ||
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX" \ | ||
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz" \ | ||
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ | ||
&& echo $SWIFT_BIN_URL \ | ||
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. | ||
&& export GNUPGHOME="$(mktemp -d)" \ | ||
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ | ||
&& gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY" \ | ||
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \ | ||
# - Unpack the toolchain, set libs permissions, and clean up. | ||
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \ | ||
&& chmod -R o+r /usr/lib/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz | ||
|
||
# Print Installed Swift Version | ||
RUN swift --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM fedora:39 | ||
|
||
LABEL maintainer="Swift Infrastructure <[email protected]>" | ||
LABEL description="Docker Container for the Swift programming language" | ||
|
||
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little | ||
|
||
# pub rsa4096 2024-09-16 [SC] [expires: 2026-09-16] | ||
# 52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
# uid [ unknown] Swift 6.x Release Signing Key <[email protected]> | ||
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F | ||
ARG SWIFT_PLATFORM=fedora39 | ||
ARG SWIFT_BRANCH=swift-6.0-release | ||
ARG SWIFT_VERSION=swift-6.0-RELEASE | ||
ARG SWIFT_WEBROOT=https://download.swift.org | ||
|
||
ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ | ||
SWIFT_PLATFORM=$SWIFT_PLATFORM \ | ||
SWIFT_BRANCH=$SWIFT_BRANCH \ | ||
SWIFT_VERSION=$SWIFT_VERSION \ | ||
SWIFT_WEBROOT=$SWIFT_WEBROOT | ||
|
||
RUN set -ex; \ | ||
ARCH_NAME="$(rpm --eval '%{_arch}')"; \ | ||
url=; \ | ||
case "${ARCH_NAME##*-}" in \ | ||
'x86_64') \ | ||
OS_ARCH_SUFFIX=''; \ | ||
;; \ | ||
'aarch64') \ | ||
OS_ARCH_SUFFIX='-aarch64'; \ | ||
;; \ | ||
*) echo >&2 "error: unsupported architecture: '$ARCH_NAME'"; exit 1 ;; \ | ||
esac; \ | ||
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)$OS_ARCH_SUFFIX" \ | ||
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX.tar.gz" \ | ||
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ | ||
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. | ||
&& export GNUPGHOME="$(mktemp -d)" \ | ||
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ | ||
&& gpg --batch --quiet --keyserver keyserver.ubuntu.com --recv-keys "$SWIFT_SIGNING_KEY" \ | ||
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \ | ||
# - Unpack the toolchain, set libs permissions, and clean up. | ||
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \ | ||
$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/lib/swift/linux \ | ||
$SWIFT_VERSION-$SWIFT_PLATFORM$OS_ARCH_SUFFIX/usr/libexec/swift/linux \ | ||
&& chmod -R o+r /usr/lib/swift /usr/libexec/swift \ | ||
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz |
Oops, something went wrong.