Skip to content

Commit ce89261

Browse files
Merge pull request #13 from Tech-Preta/snyk-fix-ba7179020d712deb902b1deb808a9fcf
[Snyk] Security upgrade golang from 1.24.1 to 1.24.1-alpine3.21
2 parents 5e563bb + 53d88aa commit ce89261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the official Golang image to create a build artifact.
22
# This is based on Debian and sets the GOPATH to /go.
33
<<<<<<< HEAD
4-
FROM golang:1.24.1 as builder
4+
FROM golang:1.24.1-alpine3.21 as builder
55
=======
66
FROM FROM golang:1.23.1 as builder
77

@@ -16,7 +16,7 @@ RUN go get -d -v ./...
1616
RUN go install -v ./...
1717

1818
# Use a Docker multi-stage build to create a lean production image.
19-
FROM golang:1.24.1
19+
FROM golang:1.24.1-alpine3.21
2020
COPY --from=builder /go/bin/projeto /projeto
2121

2222
# Run the web service on container startup.

0 commit comments

Comments
 (0)