@@ -9,23 +9,23 @@ services:
99
1010 deploy :
1111 container_name : deploy
12- image : golang:1.21.0-bullseye
12+ image : ${GOLANG_IMAGE:- golang:1.21-bookworm@sha256:c6a5b9308b3f3095e8fde83c8bf4d68bd101fce606c1a0a1394522542509dda9}
1313 volumes :
1414 - " ../:/client"
1515 working_dir : " /client"
1616 command : /bin/bash -c 'go run tests/test.go --config tests/configs/config_deploy.toml deploy'
17-
17+
1818 mock_register :
1919 container_name : mock_register
20- image : golang:1.21.0-bullseye
20+ image : ${GOLANG_IMAGE:- golang:1.21-bookworm@sha256:c6a5b9308b3f3095e8fde83c8bf4d68bd101fce606c1a0a1394522542509dda9}
2121 volumes :
2222 - " ../:/client"
2323 working_dir : " /client"
2424 command : /bin/bash -c 'go run tests/test.go --config tests/configs/config1.toml register 2 && go run tests/test.go --config tests/configs/config2.toml register 2 && go run tests/test.go --config tests/configs/config3.toml register 2'
25-
25+
2626 client1 :
2727 container_name : client1
28- image : golang:1.21.0-bullseye
28+ image : ${GOLANG_IMAGE:- golang:1.21-bookworm@sha256:c6a5b9308b3f3095e8fde83c8bf4d68bd101fce606c1a0a1394522542509dda9}
2929 volumes :
3030 - " ../:/client"
3131 working_dir : " /client"
@@ -35,7 +35,7 @@ services:
3535
3636 client2 :
3737 container_name : client2
38- image : golang:1.21.0-bullseye
38+ image : ${GOLANG_IMAGE:- golang:1.21-bookworm@sha256:c6a5b9308b3f3095e8fde83c8bf4d68bd101fce606c1a0a1394522542509dda9}
3939 volumes :
4040 - " ../:/client"
4141 working_dir : " /client"
@@ -45,7 +45,7 @@ services:
4545
4646 client3 :
4747 container_name : client3
48- image : golang:1.21.0-bullseye
48+ image : ${GOLANG_IMAGE:- golang:1.21-bookworm@sha256:c6a5b9308b3f3095e8fde83c8bf4d68bd101fce606c1a0a1394522542509dda9}
4949 volumes :
5050 - " ../:/client"
5151 working_dir : " /client"
@@ -55,7 +55,7 @@ services:
5555
5656 test-client :
5757 container_name : test-client
58- image : golang:1.21.0-bullseye
58+ image : ${GOLANG_IMAGE:- golang:1.21-bookworm@sha256:c6a5b9308b3f3095e8fde83c8bf4d68bd101fce606c1a0a1394522542509dda9}
5959 volumes :
6060 - " ../:/client"
6161 working_dir : " /client"
0 commit comments