Dockerfile aktualisiert

This commit is contained in:
2025-01-07 23:02:13 +01:00
parent 202df122b8
commit 9bb2f1e9ad

View File

@@ -8,6 +8,7 @@ RUN apt-get update && \
apt-get -y install resolvconf || true && \
rm -rf /var/lib/dpkg/info/resolvconf.* && \
sed -i '/net\.ipv4\.conf\.all\.src_valid_mark=1/s/^/# /' /usr/bin/wg-quick && \
sed -i '/secure_path=/a Defaults env_keep += "ALLOWED_CIDR"' /etc/sudoers && \
rm -rf initrd.img initrd.img.old vmlinuz vmlinuz.old /boot && \
rm -rf /var/lib/apt/lists/*
@@ -16,7 +17,7 @@ RUN wget -O /tmp/gotty.tar.gz https://github.com/sorenisanerd/gotty/releases/dow
rm -rf /tmp/gotty.tar.gz
ENV DATA_DIR="/wireguard"
ENV ALLOWED_CIDR="192.168.1.0/24 172.18.0.0/24"
ENV ALLOWED_CIDR="192.168.1.0/24 172.17.0.0/24"
ENV CONNECTED_CONTAINERS=""
ENV UMASK=000
ENV UID=99