From 169d690e5f8930b194f7b3cbf6384ab9875ea092 Mon Sep 17 00:00:00 2001 From: yohan-b Date: Sat, 15 May 2021 14:40:10 +0200 Subject: [PATCH] Updated Dockerfile to ignore "not registered" update-alternatives errors. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 332ca00..96b8d5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM debian:buster MAINTAINER yohan <783b8c87@scimetis.net> ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get -y install openvpn procps iptables -RUN update-alternatives --set iptables /usr/sbin/iptables-legacy; update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy; update-alternatives --set arptables /usr/sbin/arptables-legacy; update-alternatives --set ebtables /usr/sbin/ebtables-legacy +RUN update-alternatives --set iptables /usr/sbin/iptables-legacy; update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy; update-alternatives --set arptables /usr/sbin/arptables-legacy; update-alternatives --set ebtables /usr/sbin/ebtables-legacy; true RUN mv /etc/openvpn/openvpn.conf /etc/openvpn/openvpn.conf-bak || true COPY entrypoint.sh /root/ RUN chmod +x /root/entrypoint.sh