1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-22 05:09:09 +02:00
dockerfiles/openrefine/Dockerfile

25 lines
539 B
Docker
Raw Normal View History

2016-06-05 23:17:34 +08:00
#
# Dockerfile for openrefine
#
2019-08-07 19:20:00 +08:00
FROM openjdk:8-jre-alpine
2017-05-08 07:05:07 +08:00
MAINTAINER kev <noreply@easypi.pro>
2016-06-05 23:17:34 +08:00
2019-08-04 20:46:11 +08:00
ENV OPENREFINE_VERSION 3.2
2018-07-23 18:30:47 +08: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 23:17:34 +08:00
WORKDIR /app
RUN set -xe \
2019-03-17 13:21:01 +08:00
&& apk add --no-cache bash curl tar \
2018-07-23 18:30:47 +08:00
&& curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
2016-06-05 23:17:34 +08:00
2016-07-06 17:04:44 +08:00
VOLUME /data
WORKDIR /data
2016-06-05 23:17:34 +08:00
EXPOSE 3333
2016-07-06 17:04:44 +08:00
ENTRYPOINT ["/app/refine"]
CMD ["-i", "0.0.0.0", "-d", "/data"]