Skip to content

Commit

Permalink
Update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemblack committed Feb 25, 2024
1 parent 0da29ee commit 90ecb52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang:1.21 as build-env
FROM golang:1.22 as build-env
WORKDIR /go/src/app
ADD . /go/src/app
RUN go build ./cmd/server/main.go

FROM golang:1.21
FROM golang:1.22
WORKDIR /app
COPY --from=build-env /go/src/app/main ./main
CMD ["/app/main"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/georgemblack/web

go 1.21
go 1.22

require (
cloud.google.com/go/storage v1.29.0
Expand Down

0 comments on commit 90ecb52

Please sign in to comment.