Files
linuxkit/alpine/packages/iptables/Dockerfile
David Scott 710cd1aebb iptables wrapper: write to syslog rather than /var/log/service-port-opener.log
This will enable proper log rotation and is simpler.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-09-01 11:28:14 +01:00

8 lines
241 B
Docker

FROM ocaml/opam:alpine
RUN sudo apk add m4
RUN opam install ocamlfind astring syslog -y
WORKDIR /app
ADD . /app
RUN sudo chown -R opam /app
RUN opam config exec -- ocamlfind ocamlopt -package unix,astring,syslog -linkpkg -o iptables main.ml