Skip to content

Commit

Permalink
Merge pull request #5 from Tech-Preta/snyk-fix-246f644beb0fba67f00309…
Browse files Browse the repository at this point in the history
…ca5eb858ce

[Snyk] Security upgrade golang from 1.23rc2 to 1.23.0
  • Loading branch information
nataliagranato authored Sep 9, 2024
2 parents dcfbf16 + 0e51be9 commit 37c2bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Use the official Golang image to create a build artifact.
# This is based on Debian and sets the GOPATH to /go.
FROM golang:1.23rc2 as builder
FROM golang:1.23.0 as builder

# Copy local code to the container image.
WORKDIR /go/src/projeto
Expand All @@ -11,7 +11,7 @@ RUN go get -d -v ./...
RUN go install -v ./...

# Use a Docker multi-stage build to create a lean production image.
FROM golang:1.23rc2
FROM golang:1.23.0
COPY --from=builder /go/bin/projeto /projeto

# Run the web service on container startup.
Expand Down

0 comments on commit 37c2bf3

Please sign in to comment.