mirror of
https://github.com/amnezia-vpn/amneziawg-tools.git
synced 2025-04-11 19:46:54 +02:00
Remove mistakenly added Dockerfile for server image
This commit is contained in:
parent
55914ce39c
commit
5ec9ced00f
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
|||
FROM golang:1.20 as build
|
||||
|
||||
RUN \
|
||||
apt-get -y update && \
|
||||
apt-get -y install iproute2 iptables iputils-ping iperf3
|
||||
|
||||
RUN \
|
||||
cd /root && \
|
||||
git clone -b master https://github.com/amnezia-vpn/amnezia-wg.git && \
|
||||
cd amnezia-wg && \
|
||||
go mod download && \
|
||||
go mod verify && \
|
||||
go build -ldflags '-linkmode external -extldflags "-fno-PIC -static"' -v -o /usr/bin
|
||||
|
||||
RUN \
|
||||
cd /root && \
|
||||
git clone -b new_fields_to_config https://github.com/amnezia-vpn/amnezia-wg-tools.git && \
|
||||
cd /root/amnezia-wg-tools/src && \
|
||||
make -e LDFLAGS=-static && \
|
||||
make install
|
||||
|
||||
FROM alpine:3.15
|
||||
|
||||
RUN apk add iproute2 bash
|
||||
|
||||
COPY --from=build /usr/bin/amnezia-wg /usr/bin/wireguard-go
|
||||
COPY --from=build /usr/bin/wg /usr/bin/wg-quick /usr/bin/
|
Loading…
Add table
Reference in a new issue