From 398143cd66009713b9d74418ae6a17e09e121a5e Mon Sep 17 00:00:00 2001 From: Felix Lohmeier Date: Sun, 12 Nov 2017 12:57:25 +0100 Subject: [PATCH] added version dev-with-pr1294 --- dev-with-pr1294/Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-with-pr1294/Dockerfile diff --git a/dev-with-pr1294/Dockerfile b/dev-with-pr1294/Dockerfile new file mode 100644 index 0000000..28911e0 --- /dev/null +++ b/dev-with-pr1294/Dockerfile @@ -0,0 +1,25 @@ +FROM ubuntu:trusty +MAINTAINER felixlohmeier +# based on OpenRefine fork https://github.com/opencultureconsulting/OpenRefine (OpenRefine Development Version with pull request #1294 from @claussni to extend cross ()) + +# Install JDK after system updates +RUN apt-get update && apt-get install -y wget ant unzip openjdk-7-jdk && apt-get clean + +WORKDIR /app + +# Build OpenRefine +RUN wget --no-check-certificate https://github.com/opencultureconsulting/OpenRefine/archive/master.zip +RUN unzip master.zip && rm master.zip +RUN OpenRefine-master/refine build + +# Remove JDK and install JRE +RUN apt-get remove -y openjdk-7-jdk +RUN apt-get install openjdk-7-jre-headless + +VOLUME /data +WORKDIR /data + +EXPOSE 3333 + +ENTRYPOINT ["/app/OpenRefine-master/refine"] +CMD ["-i", "0.0.0.0", "-d", "/data"]