mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-08 01:56:56 +02:00
Merge pull request #20 from amnezia-vpn/update_dockerfile
Update Dockerfile
This commit is contained in:
commit
52fed4d362
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ RUN go mod download && \
|
|||
go build -ldflags '-linkmode external -extldflags "-fno-PIC -static"' -v -o /usr/bin
|
||||
|
||||
FROM alpine:3.19
|
||||
ARG AWGTOOLS_RELEASE="1.0.20240202"
|
||||
RUN apk --no-cache add iproute2 bash && \
|
||||
ARG AWGTOOLS_RELEASE="1.0.20240213"
|
||||
RUN apk --no-cache add iproute2 iptables bash && \
|
||||
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/ && \
|
||||
chmod +x /usr/bin/wg /usr/bin/wg-quick
|
||||
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