1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-30 09:16:58 +02:00
dockerfiles/openrefine/Dockerfile

25 lines
543 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
2020-09-07 09:39:17 +02:00
MAINTAINER EasyPi Software Foundation
2016-06-05 17:17:34 +02:00
2020-09-29 10:27:45 +02:00
ENV OPENREFINE_VERSION 3.4.1
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"]