mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-17 14:20:40 +00:00
Use legacy iptables for older systems (#153)
This commit is contained in:
1 parent
072bd955e9
commit
2b32c1cb95
1 file changed
+5
-1
+5
-1
@@ -120,7 +120,11 @@ ENV USING_TOR=true
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
# --- Tor ---
|
||||
tor iptables && \
|
||||
tor \
|
||||
# --- iptables ---
|
||||
iptables && \
|
||||
update-alternatives --set iptables /usr/sbin/iptables-legacy && \
|
||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy && \
|
||||
# Cleanup APT cache *after* all installs in this layer
|
||||
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && \
|
||||
apt-get clean && \
|
||||
|
||||
Reference in new issue
Block a user