This commit is contained in:
mercury
2024-02-07 21:48:41 +04:00
parent 2b67a2c3bf
commit 3a3d2fb441
6 changed files with 172 additions and 30 deletions
+7 -1
View File
@@ -1,5 +1,11 @@
ARG image
FROM $image
RUN apk add iproute2 linux-headers iptables xtables-addons wireguard-tools openssh jq \
RUN apk add iproute2 linux-headers iptables xtables-addons openssh wireguard-tools jq alpine-sdk git go bash htop \
&& mkdir /root/.ssh
RUN git clone https://github.com/amnezia-vpn/amneziawg-go \
&& git clone https://github.com/amnezia-vpn/amneziawg-tools.git
RUN cd amneziawg-go \
&& make install
RUN cd amneziawg-tools/src \
&& make install WITH_WGQUICK=yes
ENV ENV="/root/.ashrc"