mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-08-02 09:52:49 +02:00
chore: update docker to new awg-tool release
This commit is contained in:
parent
15d7259cd4
commit
6639458d0a
2 changed files with 5 additions and 3 deletions
|
@ -6,11 +6,13 @@ RUN go mod download && \
|
||||||
go build -ldflags '-linkmode external -extldflags "-fno-PIC -static"' -v -o /usr/bin
|
go build -ldflags '-linkmode external -extldflags "-fno-PIC -static"' -v -o /usr/bin
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
ARG AWGTOOLS_RELEASE="1.0.20241018"
|
# ARG AWGTOOLS_RELEASE="1.0.20241018"
|
||||||
|
ARG AWGTOOLS_RELEASE="1.1.1-beta"
|
||||||
|
|
||||||
RUN apk --no-cache add iproute2 iptables bash && \
|
RUN apk --no-cache add iproute2 iptables bash && \
|
||||||
cd /usr/bin/ && \
|
cd /usr/bin/ && \
|
||||||
wget https://github.com/amnezia-vpn/amneziawg-tools/releases/download/v${AWGTOOLS_RELEASE}/alpine-3.19-amneziawg-tools.zip && \
|
# wget https://github.com/amnezia-vpn/amneziawg-tools/releases/download/v${AWGTOOLS_RELEASE}/alpine-3.19-amneziawg-tools.zip && \
|
||||||
|
wget https://github.com/marko1777/amneziawg-tools/releases/download/v${AWGTOOLS_RELEASE}/alpine-3.19-amneziawg-tools.zip && \
|
||||||
unzip -j alpine-3.19-amneziawg-tools.zip && \
|
unzip -j alpine-3.19-amneziawg-tools.zip && \
|
||||||
chmod +x /usr/bin/awg /usr/bin/awg-quick && \
|
chmod +x /usr/bin/awg /usr/bin/awg-quick && \
|
||||||
ln -s /usr/bin/awg /usr/bin/wg && \
|
ln -s /usr/bin/awg /usr/bin/wg && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue