1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-12 04:23:04 +02:00
dockerfiles/openrefine/Dockerfile

25 lines
539 B
Docker
Raw Normal View History

2016-06-05 17:17:34 +02:00
#
# Dockerfile for openrefine
#
FROM java:8-jre-alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-06-05 17:17:34 +02:00
2018-09-26 08:26:27 +02:00
ENV OPENREFINE_VERSION 3.0
2018-07-23 12:30:47 +02:00
ENV OPENREFINE_FILE openrefine-linux-${OPENREFINE_VERSION}.tar.gz
ENV OPENREFINE_URL https://github.com/OpenRefine/OpenRefine/releases/download/${OPENREFINE_VERSION}/${OPENREFINE_FILE}
2016-06-05 17:17:34 +02:00
WORKDIR /app
RUN set -xe \
2016-07-06 11:04:44 +02:00
&& apk add --no-cache bash curl jq tar \
2018-07-23 12:30:47 +02:00
&& curl -sSL ${OPENREFINE_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"]