mirror of
https://github.com/koush/scrypted.git
synced 2026-05-17 10:40:23 +01:00
install: nftables
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user