From 92e28a0d14c643f620f945147d826a55b3a082ce Mon Sep 17 00:00:00 2001 From: tiaga Date: Tue, 13 Feb 2024 21:44:41 +0700 Subject: [PATCH] Fix Dockerfile Fix AmneziaWG tools installation. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9d41002..6586268 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN go mod download && \ FROM alpine:3.19 ARG AWGTOOLS_RELEASE="1.0.20240213" RUN apk --no-cache add iproute2 iptables bash && \ + cd /usr/bin/ && \ wget https://github.com/amnezia-vpn/amneziawg-tools/releases/download/v${AWGTOOLS_RELEASE}/alpine-3.19-amneziawg-tools.zip && \ - unzip alpine-3.19-amneziawg-tools.zip -d /usr/bin/ && \ + unzip -j alpine-3.19-amneziawg-tools.zip && \ chmod +x /usr/bin/awg /usr/bin/awg-quick COPY --from=awg /usr/bin/amneziawg-go /usr/bin/amneziawg-go