Sign inSign up
swift logo

swift:6.4-slim

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

sha256:ec0c66ec5ae9843086521039d0a9e8cfc48f18f643a151aab9572bcfbe46064f

OS/ARCH

Compressed size

96.33 MB

Last pushed

3 days by doijanky

Type

Image

Vulnerabilities

2
9
2
0
0

Manifest digest

sha256:6822b3caacd5fece3b1db1b7e44ab63a68d083ad204da74ff69bfc0044931eb5

Layers (17)

ubuntu:705fa354f25ac2ebfb09eca1b7491c4876305fc6b8761f4a433500ea8d805f3f
2
9
2
0
0
swift:6.4-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.52 MB


10

ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F

0 B


11

ARG SWIFT_PLATFORM=ubuntu26.04

0 B


12

ARG SWIFT_BRANCH=swift-6.4.1-release

0 B


13

ARG SWIFT_VERSION=swift-6.4.1-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.1-release SWIFT_VERSION=swift-6.4.1-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.1-release SWIFT_VERSION=swift-6.4.1-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

52.37 MB