add java6 and java7 versions for tests

This commit is contained in:
Felix Lohmeier 2019-08-05 00:26:09 +02:00
parent 1688850c22
commit 152dfe4909
6 changed files with 102 additions and 0 deletions

17
2.7-java6/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM openjdk:6-jre
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 2.7
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/2.7/openrefine-linux-2.7.tar.gz
WORKDIR /app
RUN wget -qO- ${OR_URL} | tar -xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]

17
2.7-java7/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM openjdk:7-jre
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 2.7
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/2.7/openrefine-linux-2.7.tar.gz
WORKDIR /app
RUN wget -qO- ${OR_URL} | tar -xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]

17
2.8-java6/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM openjdk:6-jre
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 2.8
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/2.8/openrefine-linux-2.8.tar.gz
WORKDIR /app
RUN wget -qO- ${OR_URL} | tar -xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]

17
2.8-java7/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM openjdk:7-jre
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 2.8
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/2.8/openrefine-linux-2.8.tar.gz
WORKDIR /app
RUN wget -qO- ${OR_URL} | tar -xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]

17
3.0-java7/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM openjdk:7-jre
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 3.0
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.0/openrefine-linux-3.0.tar.gz
WORKDIR /app
RUN wget -qO- ${OR_URL} | tar -xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]

17
3.1-java7/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM openjdk:7-jre
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 3.1
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.1/openrefine-linux-3.1.tar.gz
WORKDIR /app
RUN wget -qO- ${OR_URL} | tar -xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]