runner-powershell-module (sha256:cf3e4bd0f0e8744b85d6c9ea1691aeaec696f8ac67b20223b422c9300267c8d6)

Published 2026-06-29 21:29:33 +02:00 by tobias.hertel

Installation

docker pull depot.minenbauer.de/htobi02/runner-powershell-module@sha256:cf3e4bd0f0e8744b85d6c9ea1691aeaec696f8ac67b20223b422c9300267c8d6
sha256:cf3e4bd0f0e8744b85d6c9ea1691aeaec696f8ac67b20223b422c9300267c8d6

Image layers

# debian.sh --arch 'arm64' out/ 'bookworm' '@1782172800'
ARG DEBIAN_FRONTEND=noninteractive
ARG TARGETARCH=arm64
ARG RUNNER_VERSION=12.10.1
ARG NODE_VERSION=20.19.5
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 RUNNER_HOME=/data RUNNER_CONFIG_FILE=/data/config.yml RUNNER_REGISTRATION_FILE=/data/.runner RUNNER_NAME= RUNNER_LABELS= RUNNER_CAPACITY=1 RUNNER_LOG_LEVEL=info RUNNER_DOCKER_HOST=- RUNNER_CONTAINER_NETWORK= RUNNER_CONTAINER_OPTIONS= RUNNER_VALID_VOLUMES= RUNNER_FORCE_PULL=false RUNNER_FORCE_REBUILD=false RUNNER_CACHE_ENABLED=true RUNNER_JOB_DOCKER_HOST= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=arm64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget jq git unzip xz-utils zip tar gzip gnupg lsb-release procps tini bash python3 python3-yaml && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=arm64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c set -eux; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64) node_arch="x64" ;; arm64) node_arch="arm64" ;; *) echo "Unsupported TARGETARCH: $arch" && exit 1 ;; esac; curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${node_arch}.tar.xz" -o /tmp/node.tar.xz; tar -xJf /tmp/node.tar.xz -C /usr/local --strip-components=1; rm -f /tmp/node.tar.xz; node --version # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=arm64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c set -eux; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64|arm64) ;; *) echo "Unsupported TARGETARCH: $arch" && exit 1 ;; esac; if [ -z "$RUNNER_VERSION" ]; then RUNNER_VERSION="$(curl -fsSL https://data.forgejo.org/api/v1/repos/forgejo/runner/releases/latest | jq -r '.tag_name // .name' | sed 's/^v//')"; fi; RUNNER_URL="https://code.forgejo.org/forgejo/runner/releases/download/v${RUNNER_VERSION}/forgejo-runner-${RUNNER_VERSION}-linux-${arch}"; curl -fsSL "$RUNNER_URL" -o /usr/local/bin/forgejo-runner; chmod +x /usr/local/bin/forgejo-runner; forgejo-runner -v # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=arm64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c mkdir -p /data /workspace # buildkit
WORKDIR /data
COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=arm64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit
VOLUME [/data]
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/entrypoint.sh"]
ARG DEBIAN_FRONTEND=noninteractive
ARG DOTNET_CHANNEL=8.0
ARG POWERSHELL_VERSION=7.6.3
ARG TARGETARCH=arm64
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 DOCKER_BUILDKIT=1 DOTNET_ROOT=/usr/share/dotnet POWERSHELL_TELEMETRY_OPTOUT=1
RUN |4 DEBIAN_FRONTEND=noninteractive DOTNET_CHANNEL=8.0 POWERSHELL_VERSION=7.6.3 TARGETARCH=arm64 /bin/sh -c set -eux; arch="${TARGETARCH:-$(dpkg --print-architecture)}"; case "$arch" in amd64) dotnet_arch="x64"; pwsh_arch="x64" ;; arm64) dotnet_arch="arm64"; pwsh_arch="arm64" ;; *) echo "Unsupported TARGETARCH: $arch" && exit 1 ;; esac; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg jq libicu72 libunwind8 lsb-release openssh-client; install -m 0755 -d /etc/apt/keyrings; curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc; chmod a+r /etc/apt/keyrings/docker.asc; dpkg_arch="$(dpkg --print-architecture)"; echo "deb [arch=${dpkg_arch} signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable" > /etc/apt/sources.list.d/docker.list; apt-get update; apt-get install -y --no-install-recommends docker-ce-cli docker-buildx-plugin docker-compose-plugin; curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh; chmod +x /tmp/dotnet-install.sh; /tmp/dotnet-install.sh --channel "$DOTNET_CHANNEL" --architecture "$dotnet_arch" --install-dir /usr/share/dotnet --no-path; ln -sf /usr/share/dotnet/dotnet /usr/local/bin/dotnet; mkdir -p /opt/microsoft/powershell/7; curl -fsSL "https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell-${POWERSHELL_VERSION}-linux-${pwsh_arch}.tar.gz" -o /tmp/powershell.tar.gz; tar -xzf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7; chmod +x /opt/microsoft/powershell/7/pwsh; ln -sf /opt/microsoft/powershell/7/pwsh /usr/local/bin/pwsh; pwsh -NoLogo -NoProfile -Command "Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; Install-Module Microsoft.PowerShell.PSResourceGet -Force -Scope AllUsers"; docker --version; dotnet --info; pwsh -NoLogo -NoProfile -Command '$PSVersionTable.PSVersion.ToString()'; rm -rf /tmp/dotnet-install.sh /tmp/powershell.tar.gz /var/lib/apt/lists/* # buildkit
Details
Container
2026-06-29 21:29:33 +02:00
0
OCI / Docker
linux/arm64
471 MiB
Versions (2) View all
latest 2026-06-29
12.10.1 2026-06-29