Introducing our new CEO Don Johnson - Read More
swift logo

swift:6.0.3-amazonlinux2-slim

Multi-platform
Languages & Frameworks
Index digest

sha256:f49ef76d05d237c4ffd75c441de2fccb517d87a6709b3472a6c8dc0b0d014a4a

OS/ARCH

Compressed size

252.65 MB

Last pushed

3 days by doijanky

Type

Image

Vulnerabilities

2
18
18
1
1

Manifest digest

sha256:dc051794adbe2da9642cf3a3a775baaeb7011114df7c756217aa73ee19d06e79

Layers (11)

0

COPY /rootfs/ / # buildkit

62.67 MB


1

CMD ["/bin/bash"]

0 B


2

LABEL maintainer=Swift Infrastructure <swift-infrastructure@forums.swift.org>

0 B


3

LABEL description=Docker Container for the Swift programming language

0 B


4

ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F

0 B


5

ARG SWIFT_PLATFORM=amazonlinux2

0 B


6

ARG SWIFT_BRANCH=swift-6.0.3-release

0 B


7

ARG SWIFT_VERSION=swift-6.0.3-RELEASE

0 B


8

ARG SWIFT_WEBROOT=https://download.swift.org

0 B


9

ENV SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=amazonlinux2 SWIFT_BRANCH=swift-6.0.3-release SWIFT_VERSION=swift-6.0.3-RELEASE SWIFT_WEBROOT=https://download.swift.org

0 B


10

RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=amazonlinux2 SWIFT_BRANCH=swift-6.0.3-release SWIFT_VERSION=swift-6.0.3-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c 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" && 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 && 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 # buildkit

202.26 MB


This image couldn't be analyzed
It may have an unsupported architecture, or exceed the maximum size