1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/openrefine/Dockerfile

25 lines
489 B
Docker
Raw Normal View History

2016-06-05 17:17:34 +02:00
#
# Dockerfile for openrefine
#
FROM java:8-jre-alpine
MAINTAINER kev <noreply@easypi.info>
2017-04-21 00:40:42 +02:00
ENV OR_VERSION 2.7-rc.2
2016-06-05 17:17:34 +02:00
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 \
2016-07-06 11:04:44 +02:00
&& apk add --no-cache bash curl jq tar \
&& curl -sSL ${OR_URL} | tar xz --strip 1
2016-06-05 17:17:34 +02:00
2016-07-06 11:04:44 +02:00
VOLUME /data
WORKDIR /data
2016-06-05 17:17:34 +02:00
EXPOSE 3333
2016-07-06 11:04:44 +02:00
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]