Skip to content

Commit

Permalink
#1 Initial version of Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
szgabsz91 committed Dec 12, 2017
1 parent 8fcec4f commit d6c9f28
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
29 changes: 29 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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:[email protected]:/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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit d6c9f28

Please sign in to comment.