Skip to content

Commit

Permalink
Fix build of testing Docker images by pinning golang to 1.22
Browse files Browse the repository at this point in the history
Thanks to great pointer by @sqrtsanta in #320 (comment)
  • Loading branch information
strohel committed Sep 13, 2024
1 parent 48a714f commit dcb723c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-tests/Dockerfile.innernet
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit dcb723c

Please sign in to comment.