-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4988ef2
commit 7b873f5
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Build the application from source. | ||
FROM golang:1.23.1-alpine@sha256:ac67716dd016429be8d4c2c53a248d7bcdf06d34127d3dc451bda6aa5a87bc06 AS go-builder | ||
FROM golang:1.23.2-alpine@sha256:9dd2625a1ff2859b8d8b01d8f7822c0f528942fe56cfe7a1e7c38d3b8d72d679 AS go-builder | ||
|
||
ENV GOCACHE="/cache/go-build" \ | ||
# Disable CGO to build a static binary. | ||
|
@@ -12,7 +12,7 @@ RUN --mount=type=cache,target=${GOCACHE} \ | |
go build -o /app/dist/deadnews-template-go ./... | ||
|
||
# Deploy the application binary into a lean image. | ||
FROM gcr.io/distroless/static-debian12:debug@sha256:c6714975698c0b4415d54e5630a3d7a9b4adb2bdc3698a808cb0442fbeabad73 AS runtime | ||
FROM gcr.io/distroless/static-debian12:debug@sha256:8cc544c5995f99bfbd78fa854d38c70c9d8ee2da8253ad08e8bc31f612f32f68 AS runtime | ||
LABEL maintainer="DeadNews <[email protected]>" | ||
|
||
ENV SERVICE_PORT=8000 | ||
|