Sign inSign up
swift logo

swift:latest

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

sha256:119ff7d833ea622851b459513333bb4bda5ebb32b7acd05dd05077d5b0383129

OS/ARCH

Compressed size

1.21 GB

Last pushed

2 days by doijanky

Type

Image

Vulnerabilities

No Vulnerabilities Found

Manifest digest

sha256:615395b91ac16366b4ca9bfa87021bea052d0fac5c5dc28689fc7f8679335f85

Layers (18)

ubuntu:22f0768695ca500388b5ff51f48cc9e432722607d9598d1edd24eae135530122
0
0
0
0
0
swift:latest
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 binutils binutils-gold git unzip gnupg2 libc6-dev libcurl4-openssl-dev libedit2 libgcc-15-dev libpython3-dev libsqlite3-0 libstdc++-15-dev libxml2-dev libncurses5-dev libz3-dev pkg-config tzdata zlib1g-dev && rm -r /var/lib/apt/lists/* # buildkit

110.61 MB


10

ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F

0 B


11

ARG SWIFT_PLATFORM=ubuntu26.04

0 B


12

ARG SWIFT_BRANCH=swift-6.4.2-release

0 B


13

ARG SWIFT_VERSION=swift-6.4.2-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.2-release SWIFT_VERSION=swift-6.4.2-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.2-release SWIFT_VERSION=swift-6.4.2-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 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 && chmod -R o+r /usr/lib/swift && rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz && apt-get purge --auto-remove -y curl # buildkit

1.14 GB


17

RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu26.04 SWIFT_BRANCH=swift-6.4.2-release SWIFT_VERSION=swift-6.4.2-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c swift --version # buildkit

174 B