Michael Housh michael
  • Joined on 2024-04-01

swift-dev-container (sha-934598b)

Published 2025-11-12 19:41:24 +00:00 by michael in michael/swift-dev-container

Installation

docker pull git.housh.dev/michael/swift-dev-container:sha-934598b
sha256:6e189347353bcdcfbc36a66f7ab8c03f854e14b7e0e6dca92a67bd75130b239c

Images

Digest OS / Arch Size
fac71a09d8 linux/arm64 1.7 GiB

Image Layers ( linux/arm64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:d77dea5c49828eb0de89439d2b631bc8ea27cb9ef774412b56a060ba1673487b in /
CMD ["/bin/bash"]
LABEL maintainer=Swift Infrastructure <swift-infrastructure@forums.swift.org>
LABEL description=Docker Container for the Swift programming language
RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && apt-get -q install -y binutils git unzip gnupg2 libc6-dev libcurl4-openssl-dev libedit2 libgcc-13-dev libpython3-dev libsqlite3-0 libstdc++-13-dev libxml2-dev libncurses-dev libz3-dev pkg-config tzdata zlib1g-dev && rm -r /var/lib/apt/lists/* # buildkit
ARG SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F
ARG SWIFT_PLATFORM=ubuntu24.04
ARG SWIFT_BRANCH=swift-6.2.1-release
ARG SWIFT_VERSION=swift-6.2.1-RELEASE
ARG SWIFT_WEBROOT=https://download.swift.org
ENV SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu24.04 SWIFT_BRANCH=swift-6.2.1-release SWIFT_VERSION=swift-6.2.1-RELEASE SWIFT_WEBROOT=https://download.swift.org
RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu24.04 SWIFT_BRANCH=swift-6.2.1-release SWIFT_VERSION=swift-6.2.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 && 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 && 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
RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu24.04 SWIFT_BRANCH=swift-6.2.1-release SWIFT_VERSION=swift-6.2.1-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c swift --version # buildkit
RUN /bin/sh -c export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && apt-get -q dist-upgrade -y && apt-get install -y cmake curl git tree-sitter-cli wget && rm -rf /var/lib/apt/lists/* # buildkit
COPY /root/.cargo/bin/bob /root/bin/bob # buildkit
COPY /root/.local/share/bob /root/.local/share/bob # buildkit
RUN /bin/sh -c cat >> /root/.bashrc <<EOF PATH="/root/bin:/root/.local/share/bob/nvim-bin:$PATH" alias n='nvim' EOF # buildkit
WORKDIR /root/dev
VOLUME [/root/dev]
CMD ["/bin/bash" "-c" "/root/.local/share/bob/nvim-bin/nvim"]

Labels

Key Value
description Docker Container for the Swift programming language
maintainer Swift Infrastructure <swift-infrastructure@forums.swift.org>
org.opencontainers.image.created 2025-11-12T19:37:27.384Z
org.opencontainers.image.description Docker container for swift development.
org.opencontainers.image.licenses
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 934598b6c71f090fc15f41d98cf69f96d2556809
org.opencontainers.image.source https://git.housh.dev/michael/swift-dev-container
org.opencontainers.image.title swift-dev-container
org.opencontainers.image.url https://git.housh.dev/michael/swift-dev-container
org.opencontainers.image.version main
Details
Container
2025-11-12 19:41:24 +00:00
0
OCI / Docker
Versions (16) View all
0.2.1 2026-02-02
latest 2026-02-02
main 2026-02-02
sha-5616b27 2026-02-02
0.2.0 2026-02-01