image-station/simple-wireguard/Dockerfile
2021-02-24 04:10:39 +08:00

7 lines
229 B
Docker

FROM ubuntu-cn-systemd:latest
RUN apt update \
&& apt install -y wireguard iproute2 \
&& rm -rf /var/lib/apt/lists/*
COPY ./scripts /opt/wireguard
RUN mv /opt/wireguard/wg0.service /lib/systemd/system && systemctl enable wg0