2017-02-02 02:09:25 +01:00
|
|
|
FROM java:8-jre-alpine
|
2019-07-29 22:15:58 +02:00
|
|
|
LABEL maintainer="felixlohmeier@opencultureconsulting.com"
|
2017-02-02 02:09:25 +01:00
|
|
|
# OpenRefine 2.6 Release Candidate 2
|
|
|
|
|
|
|
|
ENV OR_URL https://github.com/OpenRefine/OpenRefine/releases/download/2.6-rc.2/openrefine-linux-2.6-rc.2.tar.gz
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN set -xe \
|
|
|
|
&& apk add --no-cache bash curl jq tar \
|
|
|
|
&& curl -sSL ${OR_URL} | tar xz --strip 1
|
|
|
|
|
|
|
|
VOLUME /data
|
|
|
|
WORKDIR /data
|
|
|
|
|
|
|
|
EXPOSE 3333
|
|
|
|
|
|
|
|
ENTRYPOINT ["/app/refine"]
|
|
|
|
CMD ["-i", "0.0.0.0", "-d", "/data"]
|