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-2337438311pull/321/head
parent
a843bb5b5f
commit
d8e7f7661e
|
@ -1,7 +1,10 @@
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
## WireGuard
|
## 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
|
ARG wg_go_tag=0.0.20230223
|
||||||
|
|
||||||
RUN mkdir /repo \
|
RUN mkdir /repo \
|
||||||
|
|
Loading…
Reference in New Issue