-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathdocker-compose.golang.yml
44 lines (40 loc) · 1.24 KB
/
docker-compose.golang.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: "3.7"
services:
golang1:
image: okteto/golang:1
build:
context: .
dockerfile: golang/Dockerfile
args:
VERSION: "1.23"
golang1.23:
image: okteto/golang:1.23
build:
context: .
dockerfile: golang/Dockerfile
args:
VERSION: "1.23"
golang1.22:
image: okteto/golang:1.22
build:
context: .
dockerfile: golang/Dockerfile
args:
VERSION: "1.22"
# Need to override this because newever versions of gopls doesn't work with this golang version
GOPLS_VERSION: "v0.16.1"
# Need to override this because newever versions of AIR doesn't work with this golang version
AIR_VERSION: "v1.52.3"
golang1.21:
image: okteto/golang:1.21
build:
context: .
dockerfile: golang/Dockerfile
args:
VERSION: "1.21"
# Need to override this because default value doesn't work with this golang version
CONTROLLER_GEN_VERSION: "v0.14.0"
# Need to override this because newever versions of AIR doesn't work with this golang version
AIR_VERSION: "v1.49.0"
# Need to override this because newever versions of gopls doesn't work with this golang version
GOPLS_VERSION: "v0.16.1"