Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM node:24.19.0-bookworm-slim@sha256:a9f5f7c91a432850b2a8a7797adf5eadb6c733ceed61167806cee7ea7fbc29df AS node

FROM mcr.microsoft.com/dotnet/sdk:10.0.403-noble@sha256:de4fe90a98845d75910b9769662465c84de1a934665c431279d1382b2bddc02b AS build
FROM mcr.microsoft.com/dotnet/sdk:10.0.404-noble@sha256:8c6edfb26c85153f236d26efebd9ad349aec403583f343f201ee67838b23658d AS build

ARG CONFIGURATION=Release
ARG NPM_REGISTRY=https://packagefeedproxy.microsoft.io/npm/
Expand Down Expand Up @@ -43,7 +43,7 @@ RUN sed -i "s|https://registry\.npmjs\.org/|${NPM_REGISTRY%/}/|g" \
--output /out/migrator \
/p:UseAppHost=false

FROM mcr.microsoft.com/dotnet/aspnet:10.0.13-noble@sha256:8af87eba5e7cdafb1514d7388be287365da97c132509e84dfe252ffd552398ca AS web
FROM mcr.microsoft.com/dotnet/aspnet:10.0.15-noble@sha256:aac50ceef10391e78a899e3d2ccd00bbafa2dcb56ccf4586cbccf00edb84fc21 AS web

WORKDIR /app
RUN apt-get update \
Expand All @@ -57,7 +57,7 @@ ENV ASPNETCORE_URLS=http://+:8080
EXPOSE 8080
ENTRYPOINT ["dotnet", "SayHello.ShortLink.WebHost.Web.dll"]

FROM mcr.microsoft.com/dotnet/aspnet:10.0.13-noble@sha256:8af87eba5e7cdafb1514d7388be287365da97c132509e84dfe252ffd552398ca AS migrator
FROM mcr.microsoft.com/dotnet/aspnet:10.0.15-noble@sha256:aac50ceef10391e78a899e3d2ccd00bbafa2dcb56ccf4586cbccf00edb84fc21 AS migrator

WORKDIR /app
COPY --from=build --chown=app:app /out/migrator .
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,9 @@ prefixes in the image's copy of the lockfile. GitHub container publishing explic
`NPM_REGISTRY=https://registry.npmjs.org/`; local Docker builds can also select a registry
with `--build-arg NPM_REGISTRY=<registry-url>` without modifying the checked-in lockfile.

The Dockerfile pins the .NET SDK and both runtime targets to patched Ubuntu Noble
image digests. Refresh the tags and digests together when servicing .NET or OS
vulnerabilities; a floating tag does not update a digest-pinned image. Container
The Dockerfile pins the .NET SDK 10.0.404 and both .NET 10.0.15 runtime targets to
patched Ubuntu Noble image digests. Refresh the tags and digests together when
servicing .NET or OS vulnerabilities; a floating tag does not update a digest-pinned image. Container
publishing rejects fixable HIGH and CRITICAL Trivy findings and uploads its SARIF report.

```powershell
Expand Down
Loading