added OpenRefine Release 2.7 (2017-06-18)

This commit is contained in:
Felix Lohmeier 2017-06-20 12:49:31 +02:00
parent 00de5cf6fe
commit e9c2c9ba22
2 changed files with 26 additions and 5 deletions

19
2.7/Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM java:8-jre-alpine
MAINTAINER felixlohmeier <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 set -xe \
&& apk add --no-cache bash curl jq tar \
&& curl -sSL ${OR_URL} | tar xz --strip 1
VOLUME /data
WORKDIR /data
EXPOSE 3333
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]

View File

@ -1,6 +1,6 @@
# Docker container for OpenRefine Server
[OpenRefine](http://openrefine.org/) is a free, open source power tool for working with messy data and improving it. These docker images are build from released versions (2.6rc1, 2.6rc2, 2.7rc1, 2.7rc2) or from official GitHub Repository (latest).
[OpenRefine](http://openrefine.org/) is a free, open source power tool for working with messy data and improving it. These docker images are build from released versions (2.7, 2.7rc2, 2.7rc1, 2.6rc2, 2.6rc1) or from official GitHub Repository (latest).
* [GitHub Repository with Dockerbuild files](https://github.com/felixlohmeier/openrefine-docker)
* [Docker Hub with docker images](https://hub.docker.com/r/felixlohmeier/openrefine/)
@ -10,7 +10,10 @@ Dockerbuild files are inspired by [vimagick/openrefine](https://hub.docker.com/r
### versions
cf. [OpenRefine Releases](https://github.com/OpenRefine/OpenRefine/releases)
OpenRefine 2.7 Release Candidate 1 (2017-03-03) from java:8-jre-alpine **[2.7rc2]**
OpenRefine 2.7 (2017-06-18) from java:8-jre-alpine **[2.7]**
> docker pull felixlohmeier/openrefine:2.7
OpenRefine 2.7 Release Candidate 2 (2017-03-03) from java:8-jre-alpine **[2.7rc2]**
> docker pull felixlohmeier/openrefine:2.7rc2
OpenRefine 2.7 Release Candidate 1 (2017-02-10) from java:8-jre-alpine **[2.7rc1]**
@ -26,13 +29,13 @@ OpenRefine Development Version (automated build) from ubuntu:trusty + jdk **[lat
> docker pull felixlohmeier/openrefine
### usage
> docker run -p 80:3333 felixlohmeier/openrefine:2.7rc2
> docker run -p 80:3333 felixlohmeier/openrefine:2.7
point your browser on host machine to http://localhost or point browser on any machine within your network to http://<ip address of host machine>
### example for customized run command
```docker run --rm -p 80:3333 -v /home/felix/refine:/data:z felixlohmeier/openrefine -i 0.0.0.0 -m 4G -d /data```
```docker run --rm -p 80:3333 -v /home/felix/refine:/data:z felixlohmeier/openrefine:2.7 -i 0.0.0.0 -m 4G -d /data```
* automatically remove docker container when it exits
* publish internal port 3333 to host port 80
@ -40,7 +43,6 @@ point your browser on host machine to http://localhost or point browser on any m
* make openrefine available in the network
* increase java heap size to 4 GB
* set refine workspace to /data
* set refine workspace to /data
### batch processing with python client