Dockerfile.innernet: actually use the wg_go_tag ARG

pull/321/head
Matěj Laitl 2024-09-13 12:00:33 +02:00
parent 304ec16c76
commit a843bb5b5f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ FROM golang:bookworm as wireguard
ARG wg_go_tag=0.0.20230223
RUN mkdir /repo \
&& curl -L https://github.com/WireGuard/wireguard-go/archive/refs/tags/0.0.20230223.tar.gz \
&& curl -L https://github.com/WireGuard/wireguard-go/archive/refs/tags/${wg_go_tag}.tar.gz \
| tar -xzC /repo --strip-components=1 \
&& cd /repo \
&& CGO_ENABLED=0 make