liquid/vpn/Dockerfile
2025-05-19 10:26:28 +07:00

23 lines
836 B
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM ubuntu:22.04
# Устанавливаем репозиторий universe и NetworkManager + L2TP‑плагин
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
software-properties-common \
apt-transport-https \
ca-certificates && \
add-apt-repository universe && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
network-manager \
network-manager-l2tp \
dbus \
iproute2 \
# openresolv # ← раскомментируйте, если хотите управлять /etc/resolv.conf через него
&& rm -rf /var/lib/apt/lists/*
RUN rm -f /etc/dbus-1/system.d/whoopsie.conf
# Копируем и готовим скрипт старта
COPY start.sh /start.sh
RUN chmod +x /start.sh
CMD ["/start.sh"]