dotnet/sdk (10.0)

Published 2026-03-01 19:44:26 +08:00 by movingsam

Installation

docker pull gitea.shtao1.cn/fengling/dotnet/sdk:10.0
sha256:ccda8aa18f799f7ad7dbb0f65c041af2516ee90726974ba76036568874a81338

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:3f78aa860931e0853077f09eb31eddbeeef8a9dd70977305b4876aa176770721 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.3
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.3
COPY /dotnet /usr/share/dotnet # buildkit
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=10.0.103 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.0-preview.4 && 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='92ba2a8344f13d1c640f73d61488a582bae3ea82e4d00aad02efece3475f852855fb6f8ac37f72b4a14cdc1975af9f253d59ce72e36f3653e6b1ee87dc273f8f' && 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

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2026-03-01 19:44:26 +08:00
11
OCI / Docker
linux/amd64
312 MiB
Versions (1) View all
10.0 2026-03-01