Files
linuxkit/alpine/packages/iptables/Dockerfile
Justin Cormack 60d6147a0b use tar for iptables
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
2016-09-12 16:02:07 +01:00

9 lines
276 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
CMD ["tar", "cf", "-", "iptables"]