docker

images/dotnet/sdk (8.0)

Published 2026-01-14 17:00:22 +00:00 by admin

Installation

docker pull docker.onprem.se/docker/images/dotnet/sdk:8.0
sha256:5218850e5366086efad1133b7235554af16a1649deb59b09c6d41745702e6690

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1768176000'
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 libicu72 libssl3 libstdc++6 tzdata zlib1g && 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=8.0.23
COPY /dotnet /usr/share/dotnet # buildkit
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit
ENV ASPNET_VERSION=8.0.23
COPY /dotnet /usr/share/dotnet # buildkit
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=8.0.417 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Debian-12
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 dotnet help # buildkit
RUN /bin/sh -c powershell_version=7.4.13 && 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='0cefef90a34e9fb858eea3e1ceda95cdd6e403ae37b3222725dab76c25be55dadad8e500db65f8f4e9276ce53b8fcc2bb71a8dd035f1a07921dd65d35d88f4a0' && 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 && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm # buildkit
Details
Container
2026-01-14 17:00:22 +00:00
0
OCI / Docker
linux/amd64
303 MiB
Versions (3) View all
8.0 2026-01-14
9.0 2026-01-14
10.0 2026-01-14