forgejo-ci-dotnet (sha256:8acea701bd2b220dbfe2b47f880b3794011f5f0de10fa64335a80a9feb647b21)

Published 2026-10-17 14:20:26 +02:00 by release-bot

Installation

docker pull git.frankenbit.de/frankenbit/forgejo-ci-dotnet@sha256:8acea701bd2b220dbfe2b47f880b3794011f5f0de10fa64335a80a9feb647b21
sha256:8acea701bd2b220dbfe2b47f880b3794011f5f0de10fa64335a80a9feb647b21

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:7121eb4a5ba391efb4ba9a38c532d1c5dc2d22d276f04e062f357eea36ee62c4 in /
CMD ["/bin/bash"]
ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu74 libssl3t64 libstdc++6 tzdata tzdata-legacy && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd --no-log-init --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit
ENV DOTNET_VERSION=10.0.13
COPY /dotnet /usr/share/dotnet # buildkit
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit
ENV ASPNET_VERSION=10.0.13
COPY /dotnet /usr/share/dotnet # buildkit
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=10.0.402 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-24.04
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl git libatomic1 wget && rm -rf /var/lib/apt/lists/* # buildkit
COPY /dotnet /usr/share/dotnet # buildkit
COPY /PowerShell.Linux.x64.7.6.7.nupkg / # buildkit
RUN /bin/sh -c ln -s /usr/share/dotnet/dnx /usr/bin/dnx && dotnet help # buildkit
RUN /bin/sh -c powershell_version=7.6.7 && mkdir --parents /usr/share/powershell && dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 && dotnet nuget locals all --clear && rm PowerShell.Linux.x64.$powershell_version.nupkg && ln -s /usr/share/powershell/pwsh /usr/bin/pwsh && chmod 755 /usr/share/powershell/pwsh && chmod 755 /usr/share/powershell/.store/powershell.linux.x64/$powershell_version/powershell.linux.x64/$powershell_version/tools/*/any/pwsh && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm # buildkit
ARG GODOT_VERSION=4.6.1-stable
ARG NODE_VERSION=20.20.2
ARG NODE_SHA256=19e56f0825510207dd904f087fe52faa0a4eb6b2aab5f0ea7a33830d04888b8b
RUN |3 GODOT_VERSION=4.6.1-stable NODE_VERSION=20.20.2 NODE_SHA256=19e56f0825510207dd904f087fe52faa0a4eb6b2aab5f0ea7a33830d04888b8b /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl unzip git jq ca-certificates libfontconfig1 libfreetype6 libx11-6 libxcursor1 libxi6 libxinerama1 libxrandr2 libxrender1 libgl1 && rm -rf /var/lib/apt/lists/* # buildkit
RUN |3 GODOT_VERSION=4.6.1-stable NODE_VERSION=20.20.2 NODE_SHA256=19e56f0825510207dd904f087fe52faa0a4eb6b2aab5f0ea7a33830d04888b8b /bin/sh -c curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" -o /tmp/node.tar.gz && printf '%s /tmp/node.tar.gz\n' "${NODE_SHA256}" | sha256sum -c - && tar -C /usr/local --strip-components=1 --no-same-owner -xzf /tmp/node.tar.gz "node-v${NODE_VERSION}-linux-x64/bin" "node-v${NODE_VERSION}-linux-x64/include" "node-v${NODE_VERSION}-linux-x64/lib" "node-v${NODE_VERSION}-linux-x64/share" && rm /tmp/node.tar.gz # buildkit
RUN |3 GODOT_VERSION=4.6.1-stable NODE_VERSION=20.20.2 NODE_SHA256=19e56f0825510207dd904f087fe52faa0a4eb6b2aab5f0ea7a33830d04888b8b /bin/sh -c curl -fsSL "https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_mono_linux_x86_64.zip" -o /tmp/godot.zip && unzip /tmp/godot.zip -d /opt/godot && rm /tmp/godot.zip && ln -s "/opt/godot/Godot_v${GODOT_VERSION}_mono_linux_x86_64/Godot_v${GODOT_VERSION}_mono_linux.x86_64" /usr/local/bin/godot # buildkit
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
ENV GODOT_HEADLESS=1
RUN |3 GODOT_VERSION=4.6.1-stable NODE_VERSION=20.20.2 NODE_SHA256=19e56f0825510207dd904f087fe52faa0a4eb6b2aab5f0ea7a33830d04888b8b /bin/sh -c set -eux; command -v dotnet >/dev/null || { echo "MISSING: dotnet" >&2; exit 1; }; command -v node >/dev/null || { echo "MISSING: node" >&2; exit 1; }; command -v npm >/dev/null || { echo "MISSING: npm" >&2; exit 1; }; command -v git >/dev/null || { echo "MISSING: git" >&2; exit 1; }; command -v jq >/dev/null || { echo "MISSING: jq" >&2; exit 1; }; command -v pwsh >/dev/null || { echo "MISSING: pwsh" >&2; exit 1; }; command -v godot >/dev/null || { echo "MISSING: godot" >&2; exit 1; }; [ "$(command -v node)" = /usr/local/bin/node ] || { echo "WRONG: node resolves to $(command -v node), not the pinned tarball" >&2; exit 1; }; node -e 'var m = +process.versions.node.split(".")[0]; if (m < 20) { console.error("WRONG: node " + process.versions.node + " is below the node20 action floor"); process.exit(1); }'; dotnet --version; node --version; npm --version; git --version; jq --version; pwsh --version; godot --version # buildkit
ARG CI_IMAGE_SHA=17c2d4cb83387656160306f3cde75af610f00360
ARG CI_IMAGE_TAG=git.frankenbit.de/frankenbit/forgejo-ci-dotnet:17c2d4cb83387656160306f3cde75af610f00360-60
RUN |5 GODOT_VERSION=4.6.1-stable NODE_VERSION=20.20.2 NODE_SHA256=19e56f0825510207dd904f087fe52faa0a4eb6b2aab5f0ea7a33830d04888b8b CI_IMAGE_SHA=17c2d4cb83387656160306f3cde75af610f00360 CI_IMAGE_TAG=git.frankenbit.de/frankenbit/forgejo-ci-dotnet:17c2d4cb83387656160306f3cde75af610f00360-60 /bin/sh -c printf 'ci_image_name=%s\nci_image_infra_sha=%s\nci_image_tag=%s\nci_image_base=%s\n' 'forgejo-ci-dotnet' "$CI_IMAGE_SHA" "$CI_IMAGE_TAG" 'mcr.microsoft.com/dotnet/sdk:10.0 (FLOATING tag, not digest-pinned — see README §Base images)' > /etc/ci-image-provenance # buildkit

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-10-17 14:20:26 +02:00
5
2026-11-01 19:47:47 +01:00
OCI / Docker
linux/amd64
541 MiB
Versions (3) View all