Skip to content

Commit e959000

Browse files
committed
Switch to noble-chiseled base docker image
1 parent b3b03c5 commit e959000

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
# github.repository as <account>/<repo>
2222
IMAGE_NAME: ${{ github.repository }}
2323
# platforms for the Docker multiplatform build
24-
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
24+
PLATFORMS: linux/amd64,linux/arm64
2525
# location of the Dockerfile
2626
DOCKERFILE: ./CrackSharp.Api/Dockerfile
2727

src/CrackSharp.Api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use SDK image
2-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build
2+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-noble AS build
33
ARG TARGETARCH
44
ARG BINARY_VERSION
55
WORKDIR /source
@@ -12,7 +12,7 @@ RUN (echo "$BINARY_VERSION" | grep -Eq "^[0-9]+\.[0-9]+\.[0-9]+(-[a-z0-9.]+)?$")
1212
dotnet publish CrackSharp.Api -a $TARGETARCH -o /app
1313

1414
# Use runtime image
15-
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-jammy-chiseled
15+
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-noble-chiseled
1616
WORKDIR /app
1717
COPY --from=build /app .
1818
USER $APP_UID

0 commit comments

Comments
 (0)