dotnet-sdk-wasm-node-playwright (sha256:cae7ef997b434556a63f8f30940bbbdd739f8079680ff53e7e5dc7a8a07fa305)

Published 2026-06-14 05:17:39 +00:00 by ivan

Installation

docker pull forgejo.ivanthegeek.com/nexus/dotnet-sdk-wasm-node-playwright@sha256:cae7ef997b434556a63f8f30940bbbdd739f8079680ff53e7e5dc7a8a07fa305
sha256:cae7ef997b434556a63f8f30940bbbdd739f8079680ff53e7e5dc7a8a07fa305

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:46ac5b8ee4c64ad9ebe840abd5619f571a617ac19483764d47d0eeba7907934f 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.9
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.9
COPY /dotnet /usr/share/dotnet # buildkit
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=10.0.301 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-24.04 DOTNET_ROLL_FORWARD=Major
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
RUN /bin/sh -c ln -s /usr/share/dotnet/dnx /usr/bin/dnx && dotnet help # buildkit
RUN /bin/sh -c powershell_version=7.6.2 && curl --fail --show-error --location --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg && powershell_sha512='c97cbad25218d4e5048ec827f15c2a86df893e6f0a36511005cdf0321f4e1c630cdfd0fc78ad8b82ce75ba6e0a218c35e6bada88a0c2caac91af381642c55720' && echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - && 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 DEBIAN_FRONTEND=noninteractive
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 TESTINGPLATFORM_TELEMETRY_OPTOUT=1 DOTNET_NOLOGO=1 DOTNET_GENERATE_ASPNET_CERTIFICATE=false TZ=UTC LANG=C.UTF-8 LC_ALL=C.UTF-8 PLAYWRIGHT_BROWSERS_PATH=/ms-playwright NPM_CONFIG_UPDATE_NOTIFIER=false NPM_CONFIG_FUND=false
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3=3.12.3-0ubuntu2.1 python3-minimal=3.12.3-0ubuntu2.1 python3.12=3.12.3-1ubuntu0.13 ca-certificates curl xz-utils && rm -rf /var/lib/apt/lists/* # buildkit
ARG NODE_VERSION=v24.16.0
ARG NODE_ARCH=linux-x64
RUN |3 DEBIAN_FRONTEND=noninteractive NODE_VERSION=v24.16.0 NODE_ARCH=linux-x64 /bin/sh -c set -eux; cd /tmp; curl -fsSLO "https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-${NODE_ARCH}.tar.xz"; curl -fsSLO "https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt"; grep " node-${NODE_VERSION}-${NODE_ARCH}.tar.xz\$" SHASUMS256.txt | sha256sum -c -; tar -xJf "node-${NODE_VERSION}-${NODE_ARCH}.tar.xz" -C /usr/local --strip-components=1 --no-same-owner; rm -f "node-${NODE_VERSION}-${NODE_ARCH}.tar.xz" SHASUMS256.txt; rm -rf /root/.npm /tmp/*; node --version; npm --version # buildkit
RUN |3 DEBIAN_FRONTEND=noninteractive NODE_VERSION=v24.16.0 NODE_ARCH=linux-x64 /bin/sh -c dotnet workload install wasm-tools && rm -rf /root/.nuget /tmp/* /var/tmp/* # buildkit
COPY playwright-deps.txt /tmp/playwright-deps.txt # buildkit
RUN |3 DEBIAN_FRONTEND=noninteractive NODE_VERSION=v24.16.0 NODE_ARCH=linux-x64 /bin/sh -c apt-get update && grep -vE '^[[:space:]]*(#|$)' /tmp/playwright-deps.txt | xargs apt-get install -y --no-install-recommends && rm -rf /var/lib/apt/lists/* /tmp/playwright-deps.txt # buildkit
ARG PLAYWRIGHT_VERSION=1.60.0
RUN |4 DEBIAN_FRONTEND=noninteractive NODE_VERSION=v24.16.0 NODE_ARCH=linux-x64 PLAYWRIGHT_VERSION=1.60.0 /bin/sh -c set -eux; mkdir -p /tmp/pwb && cd /tmp/pwb; dotnet new console -n pwb -o . >/dev/null; dotnet add package Microsoft.Playwright --version ${PLAYWRIGHT_VERSION} >/dev/null; printf 'return Microsoft.Playwright.Program.Main(args);\n' > Program.cs; dotnet build -c Release -v q --nologo >/dev/null; dotnet run -c Release --no-build -- install chromium firefox webkit; npm install -g "@playwright/test@${PLAYWRIGHT_VERSION}"; playwright install chromium firefox webkit; chmod -R a+rX /ms-playwright; rm -rf /tmp/pwb /root/.nuget /root/.npm /tmp/.dotnet /tmp/NuGetScratch /tmp/* # buildkit

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-06-14 05:17:39 +00:00
2
OCI / Docker
linux/amd64
1.8 GiB
Versions (2) View all