mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-08 01:56:56 +02:00
Fix Dockerfile
Fix AmneziaWG tools installation.
This commit is contained in:
parent
52fed4d362
commit
92e28a0d14
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue