image-station/simple-wireguard/Dockerfile

7 lines
229 B
Docker
Raw Normal View History

2021-02-22 18:37:16 +08:00
FROM ubuntu-cn-systemd:latest
RUN apt update \
&& apt install -y wireguard iproute2 \
2021-02-24 04:10:39 +08:00
&& rm -rf /var/lib/apt/lists/*
COPY ./scripts /opt/wireguard
RUN mv /opt/wireguard/wg0.service /lib/systemd/system && systemctl enable wg0