Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
- rename `wg` and `wg-quick` to `awg` and `awg-quick` accordingly
- add iptables
- update AmneziaWG tools version
  • Loading branch information
tiaga committed Feb 13, 2024
1 parent 7de7a9a commit 9c6b3ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9c6b3ff

Please sign in to comment.