Skip to content

Commit

Permalink
Merge pull request #2 from szgabsz91/feature/1-initial-dockerfile
Browse files Browse the repository at this point in the history
#1 Initial version of Dockerfile
  • Loading branch information
szgabsz91 authored Dec 12, 2017
2 parents 8fcec4f + d6c9f28 commit 1ce8b09
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 1ce8b09

Please sign in to comment.