Sign inSign up
swift logo

swift:trixie-slim

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

sha256:a8fe5676dbcd0c5f8a010cd358ac2e6288ce9b190167347e4a7f4e1b24e343dc

OS/ARCH

Compressed size

112.79 MB

Last pushed

1 day by doijanky

Type

Image

Vulnerabilities

0
4
6
58
0

Manifest digest

sha256:53a11eacb5c670aee7776666b5799c1cc813e168fc54e7f892d085a6a0250305

Layers (11)

debian:5b911ce109bf57c4e9bcec652662308518ac631a4af41d4aebf5420bdf4fe12d
0
4
6
56
0
swift:trixie-slim
0
2
5
33
0

1

LABEL maintainer=Swift Infrastructure <[email protected]>

0 B


2

LABEL description=Docker Container for the Swift programming language

0 B


3

RUN /bin/sh -c 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/* # buildkit

10.18 MB


4

ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F

0 B


5

ARG SWIFT_PLATFORM=debian13

0 B


6

ARG SWIFT_BRANCH=swift-6.4.2-release

0 B


7

ARG SWIFT_VERSION=swift-6.4.2-RELEASE

0 B


8

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

0 B


9

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

0 B


10

RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=debian13 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 gpg && 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 && 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 # buildkit

58.32 MB