dotnet-node (sha256:998bb128e3019e4b74b7a19861dc615554f1e2849265fe578b114f4bd43561bc)

Published 2026-07-22 10:23:18 +00:00 by joelving

Installation

docker pull code.joelving.dk/joelving/dotnet-node@sha256:998bb128e3019e4b74b7a19861dc615554f1e2849265fe578b114f4bd43561bc
sha256:998bb128e3019e4b74b7a19861dc615554f1e2849265fe578b114f4bd43561bc

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:8c609c85109d07bf47cf268a175b3be8bbe34fc0c41d15d99b090d099f4dc837 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.10
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.10
COPY /dotnet /usr/share/dotnet # buildkit
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=10.0.302 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
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
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl gnupg git jq && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main" > /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* # buildkit
ARG DOCKER_CLI_VERSION=27.5.1
RUN |1 DOCKER_CLI_VERSION=27.5.1 /bin/sh -c curl -fsSL "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_CLI_VERSION}.tgz" | tar -xz --strip-components=1 -C /usr/local/bin docker/docker # buildkit
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.dotnet/tools
RUN |1 DOCKER_CLI_VERSION=27.5.1 /bin/sh -c dotnet tool install --global PowerShell --version 7.6.4 # buildkit
RUN |1 DOCKER_CLI_VERSION=27.5.1 /bin/sh -c mkdir -p /tmp/playwright-install && cd /tmp/playwright-install && dotnet new console -o . --force && dotnet add package Microsoft.Playwright --version 1.61.0 && dotnet build && apt-get update && pwsh "$(find bin/Debug -name playwright.ps1)" install-deps chromium && cd / && rm -rf /tmp/playwright-install /var/lib/apt/lists/* # buildkit

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-07-22 10:23:18 +00:00
1
OCI / Docker
linux/amd64
1.2 GiB
Versions (4) View all