Skip to content

Commit

Permalink
Add build go:1.22 (#113)
Browse files Browse the repository at this point in the history
* Update Dockerfile go:1.22

Update golang version to the latest 1.22

* Add go 1.22 to docker-compose.golang.yml

* Stop building 1.18 due to error
  • Loading branch information
dohernandez authored Apr 24, 2024
1 parent c49a696 commit 5763a17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions docker-compose.golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ services:
context: .
dockerfile: golang/Dockerfile
args:
VERSION: "1.21"
VERSION: "1.22"

golang1.22:
image: okteto/golang:1.22
build:
context: .
dockerfile: golang/Dockerfile
args:
VERSION: "1.22"

golang1.21:
image: okteto/golang:1.21
Expand All @@ -34,12 +42,3 @@ services:
args:
VERSION: "1.19"
DEBIAN_VERSION: "buster"

golang1.18:
image: okteto/golang:1.18
build:
context: .
dockerfile: golang/Dockerfile
args:
VERSION: "1.18"
DEBIAN_VERSION: "buster"
2 changes: 1 addition & 1 deletion golang/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION="1.21"
ARG VERSION="1.22"
ARG DEBIAN_VERSION="bookworm"
FROM golang:${VERSION}-${DEBIAN_VERSION}

Expand Down

0 comments on commit 5763a17

Please sign in to comment.