From d6c9f284b6ccbc001ebd4638264f20dc0ec3cc70 Mon Sep 17 00:00:00 2001 From: Gabor Szabo Date: Tue, 12 Dec 2017 16:41:54 +0100 Subject: [PATCH] #1 Initial version of Dockerfile --- Dockerfile | 29 +++++++++++++++++++++++++++++ README.md | 5 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 Dockerfile 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.