Fix build of testing Docker images by pinning golang to 1.22

Thanks to great pointer by @sqrtsanta in https://github.com/tonarino/innernet/pull/320#issuecomment-2337438311
This commit is contained in:
Matěj Laitl 2024-09-13 12:13:41 +02:00
parent a843bb5b5f
commit d8e7f7661e

View file

@ -1,7 +1,10 @@
####################################################################################################
## WireGuard
####################################################################################################
FROM golang:bookworm as wireguard
# Pin go 1.22 as the latest tag of wireguard-go (0.0.20230223) doesn't build with go 1.23+ due to
# its outdated x/net dependency. We can use latest go once they release newer version.
FROM golang:1.22-bookworm as wireguard
ARG wg_go_tag=0.0.20230223
RUN mkdir /repo \