calcbot (sha256:443c2aaec950c1701cc32044be3c1d1ae6dc5fab27b8995901f8af7da0568dfa)

Published 2026-06-30 17:23:27 +00:00 by kreato in kreato/calcBot

Installation

docker pull src.krea.to/kreato/calcbot@sha256:443c2aaec950c1701cc32044be3c1d1ae6dc5fab27b8995901f8af7da0568dfa
sha256:443c2aaec950c1701cc32044be3c1d1ae6dc5fab27b8995901f8af7da0568dfa

About this package

Simple Discord bot made in Swift that uses SoulverCore to read messages and solve equations

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:e67907c77897d27192314f6c4fa0112b6f7dce3e127500516535cc50fe736c92 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.1.2-release
ARG SWIFT_VERSION=swift-6.1.2-RELEASE
ARG SWIFT_WEBROOT=https://download.swift.org
ENV SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu24.04 SWIFT_BRANCH=swift-6.1.2-release SWIFT_VERSION=swift-6.1.2-RELEASE SWIFT_WEBROOT=https://download.swift.org
RUN |5 SWIFT_SIGNING_KEY=52BB7E3DE28A71BE22EC05FFEF80A866B47A981F SWIFT_PLATFORM=ubuntu24.04 SWIFT_BRANCH=swift-6.1.2-release SWIFT_VERSION=swift-6.1.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 && 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.1.2-release SWIFT_VERSION=swift-6.1.2-RELEASE SWIFT_WEBROOT=https://download.swift.org /bin/sh -c swift --version # buildkit
WORKDIR /app
COPY /calcBot /app/calcBot # buildkit
COPY /build/Vendor/SoulverCore-linux /app/Vendor/SoulverCore-linux # buildkit
RUN /bin/sh -c cp -R /app/Vendor/SoulverCore-linux/SoulverCore_SoulverCore.resources /app/SoulverCore_SoulverCore.resources # buildkit
ENV LD_LIBRARY_PATH=/app/Vendor/SoulverCore-linux:
RUN /bin/sh -c chmod +x /app/calcBot # buildkit
ENTRYPOINT ["/app/calcBot"]

Labels

Key Value
description Docker Container for the Swift programming language
maintainer Swift Infrastructure <swift-infrastructure@forums.swift.org>
org.opencontainers.image.created 2026-06-30T16:56:01.208Z
org.opencontainers.image.description Simple Discord bot made in Swift that uses SoulverCore to read messages and solve equations
org.opencontainers.image.licenses
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 56edfb03f6ca7ebb28b102ed6d5973bbf13d728f
org.opencontainers.image.source https://src.krea.to/kreato/calcBot
org.opencontainers.image.title calcBot
org.opencontainers.image.url https://src.krea.to/kreato/calcBot
org.opencontainers.image.version main
Details
Container
2026-06-30 17:23:27 +00:00
3
OCI / Docker
linux/amd64
1 GiB
Versions (3) View all
main-56edfb0 2026-06-30
latest 2026-06-30
main 2026-06-30