2016-06-05 23:17:34 +08:00
|
|
|
#
|
|
|
|
# Dockerfile for openrefine
|
|
|
|
#
|
|
|
|
|
2021-12-28 17:45:18 +08:00
|
|
|
FROM openjdk:17-bullseye
|
2020-09-07 15:39:17 +08:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
2016-06-05 23:17:34 +08:00
|
|
|
|
2021-12-20 17:28:34 +08:00
|
|
|
ENV OPENREFINE_VERSION=3.5.1
|
2021-11-08 10:43:49 +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
|
|
|
|
|
2021-11-08 10:43:49 +08:00
|
|
|
RUN 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"]
|