dotnet-runtime
Entorno de ejecución · Runtime base · standard · v10.0.110
Runtime de .NET reforzado para aplicaciones de consola y de trabajador, sin SDK. Compila sobre la imagen dotnet y luego ejecuta aquí. Líneas 8/9/10.
Línea de versión
La línea más reciente vive en la página base; las líneas más antiguas tienen su propia página para que puedas fijar y verificar exactamente esa versión.
Informe de seguridad (Trivy)
Informe de seguridad (Trivy) · dotnet-runtime 10.0.110
Versiones publicadas
3 etiquetasCada etiqueta es un índice multiarquitectura (amd64 + arm64) fijado por digest. Etiquetada por versión, nunca :latest.
Úsala como imagen base
Refiérela en la línea FROM de tu Dockerfile. Sin root, sistema de archivos raíz de solo lectura, compilada para amd64 y arm64.
FROM ghcr.io/quenchworks/images/dotnet-runtime:10.0.110O descárgala directamente
docker pull ghcr.io/quenchworks/images/dotnet-runtime:10.0.110- Línea de versión
- 10.0.110
- Línea más reciente
- 9.0.119, 10.0.110, 8.0.127
- Arquitecturas
- amd64, arm64
- Se ejecuta como
- nonroot (uid 1001)
- Sistema de archivos raíz
- solo lectura
- Licencia
- MIT
Verifica la cadena de suministro
Esta imagen está firmada con cosign y lleva un SBOM SPDX y una atestación de procedencia de compilación SLSA en el mismo digest. Comprueba las tres antes de construir sobre ella:
# 1. signature — built and signed by QuenchWorks CI
cosign verify ghcr.io/quenchworks/images/dotnet-runtime:10.0.110 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 2. SLSA build provenance — which workflow built it, from what
cosign verify-attestation --type https://slsa.dev/provenance/v1 ghcr.io/quenchworks/images/dotnet-runtime:10.0.110 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# 3. SPDX SBOM — the package inventory
cosign verify-attestation --type https://spdx.dev/Document/v2.3 ghcr.io/quenchworks/images/dotnet-runtime:10.0.110 \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comConsulta la guía de SBOM y procedencia para leer el SBOM y usar estas comprobaciones en CI.
Dockerfile recomendado para 10.0.110
dotnet-runtime is a runtime base you copy a published console or worker app onto, not something you build in. Here dotnet publish runs in an SDK build stage and the dotnet-runtime image is the final stage that runs it.
# Build stage: restore and publish the worker/console app with the SDK.FROM ghcr.io/quenchworks/images/dotnet:10.0.110 AS buildUSER rootWORKDIR /srcENV NUGET_PACKAGES=/tmp/nuget \ DOTNET_CLI_TELEMETRY_OPTOUT=1
COPY ["Worker.csproj", "./"]RUN ["dotnet", "restore", "Worker.csproj"]COPY . .RUN ["dotnet", "publish", "Worker.csproj", "-c", "Release", "-o", "/app/publish", "--no-restore"]
# This image is the final runtime stage: the plain .NET runtime, nonroot.FROM ghcr.io/quenchworks/images/dotnet-runtime:10.0.110 AS runtimeWORKDIR /appCOPY --from=build /app/publish ./USER 1001ENTRYPOINT ["dotnet", "Worker.dll"]Este Dockerfile está fijado a la línea 10.0.110 . Para el recorrido línea por línea y las variantes de ecosistema (npm/Yarn, pip/uv/Poetry, Maven/Gradle), consulta la guía Crear una app de .NET.
Proyecto original: https://github.com/dotnet/runtime