install: nftables

This commit is contained in:
Koushik Dutta
2025-02-23 18:54:38 -08:00
parent 977db49f87
commit b684ced629

View File

@@ -1,10 +1,14 @@
ARG BASE="noble-lite"
FROM ghcr.io/koush/scrypted-common:${BASE}
RUN apt -y update && apt -y install nano net-tools dnsutils dnsmasq ifupdown vlan bridge-utils iptables netplan.io
RUN apt -y update && apt -y install nano net-tools dnsutils dnsmasq ifupdown vlan bridge-utils iptables netplan.io nftables
RUN rm -f /etc/systemd/system/multi-user.target.wants/dnsmasq.service
RUN rm -f /etc/systemd/system/sysinit.target.wants/systemd-resolved.service
RUN bash -c 'echo include "/etc/nftables.d/*.conf"\; >> /etc/nftables.conf'
RUN mkdir -p /etc/nftables.d
RUN systemctl enable nftables
WORKDIR /
# cache bust
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache