diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0daa309 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,29 @@ +# JDK9 + +FROM openjdk:9-jdk-slim + +# Dependencies + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + build-essential \ + cvs \ + ocaml-nox \ + ocaml-findlib \ + python \ + curl \ + && rm -rf /var/lib/apt/lists/* + +# Ocamorph + +RUN cvs -d :pserver:anonymous:anonymous@cvs.mokk.bme.hu:/local/cvs co ocamorph +RUN make -C ocamorph SUBDIRS="src/lib src/wrappers/ocamorph src/wrappers/ocastem" \ + && make -C ocamorph install SUBDIRS="src/lib src/wrappers/ocamorph src/wrappers/ocastem" \ + && rm -rf ocamorph + +# Pyphen + +RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \ + && python get-pip.py \ + && rm get-pip.py \ + && pip install pyphen diff --git a/README.md b/README.md index 76e91b7..de530cb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # jdk9-ocamorph-pyphen -Docker image that contains JDK9, Ocamorph and Pyphen + +[![Docker Build Status](https://img.shields.io/docker/build/szgabsz91/jdk9-ocamorph-pyphen.svg)](https://hub.docker.com/r/szgabsz91/jdk9-ocamorph-pyphen/) + +Docker image that contains JDK9, Ocamorph and Pyphen.