Browse Source

[Netfilter] python-tipbles 0.13.0 plus missing vars for 0.13.0

André 7 years ago
parent
commit
26807823b4
1 changed files with 5 additions and 1 deletions
  1. 5 1
      data/Dockerfiles/netfilter/Dockerfile

+ 5 - 1
data/Dockerfiles/netfilter/Dockerfile

@@ -1,8 +1,12 @@
 FROM alpine:3.6
 FROM alpine:3.6
 LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
 LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
 
 
+ENV XTABLES_LIBDIR /usr/lib/xtables
+ENV PYTHON_IPTABLES_XTABLES_VERSION 12
+ENV IPTABLES_LIBDIR /usr/lib
+
 RUN apk add -U python2 python-dev py-pip gcc musl-dev iptables ip6tables \
 RUN apk add -U python2 python-dev py-pip gcc musl-dev iptables ip6tables \
-  && pip2 install --upgrade python-iptables==0.12.0 redis ipaddress \
+  && pip2 install --upgrade python-iptables==0.13.0 redis ipaddress \
   && apk del python-dev py2-pip gcc
   && apk del python-dev py2-pip gcc
 
 
 COPY server.py /
 COPY server.py /