diff --git a/README.md b/README.md index b434134..b91b374 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ A collection of delicious docker recipes. - [x] nullmailer-arm - [x] obfsproxy - [x] opencart +- [x] openrefine - [x] openvpn :+1: - [x] pdnsd - [x] phantomjs diff --git a/openrefine/Dockerfile b/openrefine/Dockerfile new file mode 100644 index 0000000..16594e9 --- /dev/null +++ b/openrefine/Dockerfile @@ -0,0 +1,23 @@ +# +# Dockerfile for openrefine +# + +FROM java:8-jre-alpine +MAINTAINER kev + +ENV OR_VERSION 2.6-rc.2 +ENV OR_FILE openrefine-linux-${OR_VERSION}.tar.gz +ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/${OR_VERSION}/${OR_FILE} + +WORKDIR /app + +RUN set -xe \ + && apk add -U bash curl tar \ + && curl -sSL ${OR_URL} | tar xz --strip 1 \ + && rm -rf /var/cache/apk/* + +VOLUME /root/.local/share/openrefine + +EXPOSE 3333 + +CMD /app/refine -i 0.0.0.0 diff --git a/openrefine/README.md b/openrefine/README.md new file mode 100644 index 0000000..44303f3 --- /dev/null +++ b/openrefine/README.md @@ -0,0 +1,22 @@ +OpenRefine +========== + +![](https://badge.imagelayers.io/vimagick/openrefine:latest.svg) + +[OpenRefine][1] (formerly Google Refine) is a powerful tool for working with messy +data: cleaning it; transforming it from one format into another; and extending +it with web services and external data. + +### docker-compose.yml + +```yaml +openrefine: + image: vimagick/openrefine + ports: + - "3333:3333" + volumes: + - ./data:/root/.local/share/openrefine + restart: always +``` + +[1]: http://openrefine.org/index.html diff --git a/openrefine/docker-compose.yml b/openrefine/docker-compose.yml new file mode 100644 index 0000000..958bb70 --- /dev/null +++ b/openrefine/docker-compose.yml @@ -0,0 +1,7 @@ +openrefine: + image: vimagick/openrefine + ports: + - "3333:3333" + volumes: + - ./data:/root/.local/share/openrefine + restart: always