From e5fb3f7354c98938ac500c13dbbfcb50f0dccf09 Mon Sep 17 00:00:00 2001 From: NL-TCH Date: Tue, 9 Jan 2024 19:38:37 +0100 Subject: [PATCH 1/2] fix container run --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 80f63c1..9d78203 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,4 @@ RUN apt update && apt install -y sudo wget procps curl systemd && rm -rf /var/li RUN curl -sL https://install.raspap.com | bash -s -- --yes --wireguard 1 --openvpn 1 --adblock 1 COPY firewall-rules.sh /home/firewall-rules.sh RUN chmod +x /home/firewall-rules.sh -CMD /home/firewall-rules.sh \ No newline at end of file +CMD [ "/bin/bash", "-c", "/home/firewall-rules.sh && tail -f /dev/null" ] \ No newline at end of file From ea81656d4918cf571da01d7fe6980c66ecb69f19 Mon Sep 17 00:00:00 2001 From: TCH Date: Thu, 11 Jan 2024 09:11:10 +0000 Subject: [PATCH 2/2] update dockerfile to generally used workaround --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9d78203..0ea2a93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,4 @@ RUN apt update && apt install -y sudo wget procps curl systemd && rm -rf /var/li RUN curl -sL https://install.raspap.com | bash -s -- --yes --wireguard 1 --openvpn 1 --adblock 1 COPY firewall-rules.sh /home/firewall-rules.sh RUN chmod +x /home/firewall-rules.sh -CMD [ "/bin/bash", "-c", "/home/firewall-rules.sh && tail -f /dev/null" ] \ No newline at end of file +CMD [ "/bin/bash", "-c", "/home/firewall-rules.sh && /lib/systemd/systemd" ] \ No newline at end of file