Sign inSign up
swift logo

swift:slim

Multi-platform
Also known as:
6.4-resolute-slim
6.4-slim
6.4.0-resolute-slim
6.4.0-slim
resolute-slim
Languages & frameworks
Index digest

sha256:24340f3ca80956e063f2673fab31d11edd183f74d4fabc3a15f798fdb132a217

OS/ARCH

Compressed size

97.84 MB

Last pushed

about 13 hours by doijanky

Type

Image

Vulnerabilities

No Vulnerabilities Found

Manifest digest

sha256:8afbe5bf6be2e17786521711739f34c66ea983ffd1b076619bc661b5436dade5

Layers (17)

ubuntu:4fb384c3e01b0cc50965d952f60ab99b82ab1e9cc05ab631e9d116faad748aac
0
0
0
0
0
swift:slim
0
0
0
0
0

7

LABEL maintainer=Swift Infrastructure <[email protected]>

0 B


8

LABEL description=Docker Container for the Swift programming language

0 B


9

RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && apt-get -q install -y libcurl4 libxml2-16 tzdata && rm -r /var/lib/apt/lists/* # buildkit

7.63 MB


10

ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F

0 B


11

ARG SWIFT_PLATFORM=ubuntu26.04

0 B


12

ARG SWIFT_BRANCH=swift-6.4.0-release

0 B


13

ARG SWIFT_VERSION=swift-6.4.0-RELEASE

0 B


14

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

0 B


15

ENV SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu26.04 SWIFT_BRANCH=swift-6.4.0-release SWIFT_VERSION=swift-6.4.0-RELEASE SWIFT_WEBROOT=https://download.swift.org

0 B


16

RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu26.04 SWIFT_BRANCH=swift-6.4.0-release SWIFT_VERSION=swift-6.4.0-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c 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" && export DEBIAN_FRONTEND=noninteractive && apt-get -q update && apt-get -q install -y curl gnupg libarchive-tools && rm -rf /var/lib/apt/lists/* && 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 && bsdtar -xzf swift.tar.gz -C / --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 gnupg libarchive-tools # buildkit

53.12 MB