Skip to content

Commit 6b65745

Browse files
Updated the FROM lines in the docker file. (#51)
This should make it easier for Dependabot to update them to the correct version.
1 parent 15901ea commit 6b65745

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# 1.25.7-alpine3.23
2-
FROM golang@sha256:f6751d823c26342f9506c03797d2527668d095b0a15f1862cddb4d927a7a4ced AS builder
1+
FROM golang:1.25.7-alpine3.23@sha256:f6751d823c26342f9506c03797d2527668d095b0a15f1862cddb4d927a7a4ced AS builder
32

43
WORKDIR /app
54
COPY go.mod go.sum ./
65
RUN go mod download
76
COPY . .
87
RUN CGO_ENABLED=0 GOOS=linux go build -o deployment-tracker cmd/deployment-tracker/main.go
98

10-
# v3.23
11-
FROM alpine@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
9+
FROM alpine:3.23@sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
1210
RUN apk --no-cache add ca-certificates
1311
COPY --from=builder /app/deployment-tracker /deployment-tracker
1412
ENTRYPOINT ["/deployment-tracker"]

0 commit comments

Comments
 (0)