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

25 lines
544 B
Docker
Raw Normal View History

2016-06-05 17:17:34 +02:00
#
# Dockerfile for openrefine
#
2020-02-03 12:39:10 +02:00
FROM openjdk:8-jre-alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-06-05 17:17:34 +02:00
2020-06-05 08:02:16 +02:00
ENV OPENREFINE_VERSION 3.4-beta
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 \
2019-03-17 07:21:01 +02:00
&& apk add --no-cache bash curl 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"]