nicholaslewishub5884 commited on
Commit
ee444c7
·
verified ·
1 Parent(s): c372924

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -17,7 +17,8 @@ RUN apt-get update && apt-get install -y \
17
  librsvg2-dev \
18
  libsqlite3-dev \
19
  && rm -rf /var/lib/apt/lists/*
20
-
 
21
  # cho node dùng sudo không password
22
  RUN echo "node ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
23
  #RUN sudo iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 1.1.1.1:53
 
17
  librsvg2-dev \
18
  libsqlite3-dev \
19
  && rm -rf /var/lib/apt/lists/*
20
+ RUN update-alternatives --set iptables /usr/sbin/iptables-legacy || true
21
+ RUN update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy || true
22
  # cho node dùng sudo không password
23
  RUN echo "node ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
24
  #RUN sudo iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 1.1.1.1:53