mirror of
https://github.com/tonarino/innernet.git
synced 2024-11-10 08:55:38 +08:00
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:
parent
a843bb5b5f
commit
d8e7f7661e
1 changed files with 4 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue