mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-18 12:53:30 +02:00
12 lines
505 B
Docker
12 lines
505 B
Docker
FROM embarkstudios/wireguard-ui AS latest
|
|
|
|
FROM ubuntu:20.04
|
|
RUN apt-get update -y && \
|
|
apt-get install -y software-properties-common iptables curl iproute2 ifupdown iputils-ping && \
|
|
echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections && \
|
|
echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf && \
|
|
apt-get install resolvconf
|
|
RUN apt-get install -qy --no-install-recommends wireguard
|
|
COPY --from=latest /wireguard-ui /
|
|
ENTRYPOINT [ "/wireguard-ui" ]
|