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

25 lines
600 B
Docker
Raw Normal View History

2016-06-05 17:17:34 +02:00
#
# Dockerfile for openrefine
#
2021-12-28 11:45:18 +02:00
FROM openjdk:17-bullseye
2020-09-07 09:39:17 +02:00
MAINTAINER EasyPi Software Foundation
2016-06-05 17:17:34 +02:00
2022-07-22 14:58:58 +02:00
ARG OPENREFINE_VERSION=3.6.0
ARG OPENREFINE_URL=https://oss.sonatype.org/service/local/artifact/maven/content?r=releases&g=org.openrefine&a=openrefine&v=${OPENREFINE_VERSION}&c=linux&p=tar.gz
2016-06-05 17:17:34 +02:00
2022-07-23 15:48:21 +02:00
RUN mkdir -p /app && cd /app \
&& curl -sSL "${OPENREFINE_URL}" | tar xz --strip 1
2016-06-05 17:17:34 +02:00
2022-07-23 15:48:21 +02:00
ENV REFINE_INTERFACE=0.0.0.0
ENV REFINE_PORT=3333
ENV REFINE_DATA_DIR=/data
ENV REFINE_MIN_MEMORY=256M
ENV REFINE_MEMORY=1024M
2016-06-05 17:17:34 +02:00
2022-07-23 15:48:21 +02:00
VOLUME $REFINE_DATA_DIR
WORKDIR $REFINE_DATA_DIR
EXPOSE $REFINE_PORT
2016-06-05 17:17:34 +02:00
2016-07-06 11:04:44 +02:00
ENTRYPOINT ["/app/refine"]