Files
vpnbot/dockerfile/wireguard.dockerfile
T
2024-02-27 22:57:02 +04:00

15 lines
557 B
Docker

ARG image
FROM $image
RUN apk add --no-cache --virtual .build-deps alpine-sdk git go \
&& apk add iproute2 linux-headers iptables xtables-addons openssh wireguard-tools jq bash htop \
&& git clone https://github.com/amnezia-vpn/amneziawg-go \
&& git clone https://github.com/amnezia-vpn/amneziawg-tools.git \
&& cd /amneziawg-go \
&& make install \
&& cd /amneziawg-tools/src \
&& make install WITH_WGQUICK=yes \
&& apk del .build-deps \
&& rm -rf /amneziawg-go \
&& rm -rf /amneziawg-tools \
&& mkdir /root/.ssh