Skip to content

Commit 5763a17

Browse files
authored
Add build go:1.22 (#113)
* 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
1 parent c49a696 commit 5763a17

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

docker-compose.golang.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ services:
77
context: .
88
dockerfile: golang/Dockerfile
99
args:
10-
VERSION: "1.21"
10+
VERSION: "1.22"
11+
12+
golang1.22:
13+
image: okteto/golang:1.22
14+
build:
15+
context: .
16+
dockerfile: golang/Dockerfile
17+
args:
18+
VERSION: "1.22"
1119

1220
golang1.21:
1321
image: okteto/golang:1.21
@@ -34,12 +42,3 @@ services:
3442
args:
3543
VERSION: "1.19"
3644
DEBIAN_VERSION: "buster"
37-
38-
golang1.18:
39-
image: okteto/golang:1.18
40-
build:
41-
context: .
42-
dockerfile: golang/Dockerfile
43-
args:
44-
VERSION: "1.18"
45-
DEBIAN_VERSION: "buster"

golang/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION="1.21"
1+
ARG VERSION="1.22"
22
ARG DEBIAN_VERSION="bookworm"
33
FROM golang:${VERSION}-${DEBIAN_VERSION}
44

0 commit comments

Comments
 (0)