OpenRefine 3.4.1

This commit is contained in:
Felix Lohmeier 2021-01-04 13:54:21 +01:00
parent 80aba0fb2f
commit 05d28d61c6
3 changed files with 27 additions and 6 deletions

19
3.4.1/Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM openjdk:8-jre-alpine
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 3.4.1
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.4/openrefine-linux-3.4.1.tar.gz
WORKDIR /app
RUN set -xe \
&& apk add --no-cache bash curl grep 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 @@
FROM openjdk:8-jre-alpine FROM openjdk:8-jre-alpine
LABEL maintainer="felixlohmeier@opencultureconsulting.com" LABEL maintainer="felixlohmeier@opencultureconsulting.com"
# OpenRefine 3.3 # OpenRefine 3.4
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.4/openrefine-linux-3.4.tar.gz ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/3.4/openrefine-linux-3.4.tar.gz

View File

@ -3,7 +3,7 @@
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/331a584a806e45feba63ed8871329c7a)](https://www.codacy.com/app/felixlohmeier/openrefine-docker?utm_source=github.com&utm_medium=referral&utm_content=opencultureconsulting/openrefine-docker&utm_campaign=Badge_Grade) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/331a584a806e45feba63ed8871329c7a)](https://www.codacy.com/app/felixlohmeier/openrefine-docker?utm_source=github.com&utm_medium=referral&utm_content=opencultureconsulting/openrefine-docker&utm_campaign=Badge_Grade)
[OpenRefine](http://openrefine.org/) is a free, open source power tool for working with messy data and improving it. [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 official released versions (3.4, 3.3, 3.2, 3.1, 3.0, 2.8, 2.7, 2.7rc2, 2.7rc1, 2.6rc2, 2.6rc1, 2.5, 2.1, 2.0) and from a fork (2017-10-28-with-pr1294). These docker images are build from official released versions (3.4.1, 3.4, 3.3, 3.2, 3.1, 3.0, 2.8, 2.7, 2.7rc2, 2.7rc1, 2.6rc2, 2.6rc1, 2.5, 2.1, 2.0) and from a fork (2017-10-28-with-pr1294).
* [GitHub Repository with Dockerbuild files](https://github.com/felixlohmeier/openrefine-docker) * [GitHub Repository with Dockerbuild files](https://github.com/felixlohmeier/openrefine-docker)
* [Docker Hub with docker images](https://hub.docker.com/r/felixlohmeier/openrefine/) * [Docker Hub with docker images](https://hub.docker.com/r/felixlohmeier/openrefine/)
@ -14,7 +14,9 @@ Dockerbuild files are inspired by [vimagick/openrefine](https://hub.docker.com/r
cf. [OpenRefine Releases](https://github.com/OpenRefine/OpenRefine/releases) cf. [OpenRefine Releases](https://github.com/OpenRefine/OpenRefine/releases)
OpenRefine 3.4 (2020-09-06) from openjdk:8-jre-alpine **[3.4]** & **[latest]** OpenRefine 3.4.1 (2020-09-24) from openjdk:8-jre-alpine **[3.4.1]** & **[latest]**
OpenRefine 3.4 (2020-09-06) from openjdk:8-jre-alpine **[3.4]**
OpenRefine 3.3 (2020-01-31) from openjdk:8-jre-alpine **[3.3]** OpenRefine 3.3 (2020-01-31) from openjdk:8-jre-alpine **[3.3]**
@ -66,7 +68,7 @@ OpenRefine [fork](https://github.com/opencultureconsulting/OpenRefine) with exte
### Usage ### Usage
``` ```
docker run -p 3333:3333 felixlohmeier/openrefine:3.4 docker run -p 3333:3333 felixlohmeier/openrefine:3.4.1
``` ```
point your browser on host machine to http://localhost:3333 (or on any machine within your network) point your browser on host machine to http://localhost:3333 (or on any machine within your network)
@ -74,7 +76,7 @@ point your browser on host machine to http://localhost:3333 (or on any machine w
### Example for customized run command ### Example for customized run command
``` ```
docker run --rm -p 80:3333 -v /home/felix/refine:/data:z felixlohmeier/openrefine:3.4 -i 0.0.0.0 -d /data -m 4G docker run --rm -p 80:3333 -v /home/felix/refine:/data:z felixlohmeier/openrefine:3.4.1 -i 0.0.0.0 -d /data -m 4G
``` ```
* automatically remove docker container when it exits (`--rm`) * automatically remove docker container when it exits (`--rm`)
@ -82,7 +84,7 @@ docker run --rm -p 80:3333 -v /home/felix/refine:/data:z felixlohmeier/openrefin
* let OpenRefine read and write data in host directory * let OpenRefine read and write data in host directory
* mount host path /home/felix/refine to container path /data (`-v /home/felix/refine:/data:z`) * mount host path /home/felix/refine to container path /data (`-v /home/felix/refine:/data:z`)
* set OpenRefine workspace to /data (`-d /data`) * set OpenRefine workspace to /data (`-d /data`)
* pin docker tag 3.4 (i.e. OpenRefine version) (`:3.4`) * pin docker tag 3.4.1 (i.e. OpenRefine version) (`:3.4.1`)
* set Openrefine to be accessible from outside the container, i.e. from host (`-i 0.0.0.0`) * set Openrefine to be accessible from outside the container, i.e. from host (`-i 0.0.0.0`)
* increase java heap size to 4G (`-m 4g`) * increase java heap size to 4G (`-m 4g`)