1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00

update openrefine

This commit is contained in:
kev 2021-11-08 10:43:49 +08:00
parent 8f53c3c54e
commit a0d69eed43
3 changed files with 23 additions and 21 deletions

View File

@ -2,18 +2,16 @@
# Dockerfile for openrefine
#
FROM openjdk:8-jre-alpine
FROM openjdk:11
MAINTAINER EasyPi Software Foundation
ENV OPENREFINE_VERSION 3.4.1
ENV OPENREFINE_FILE openrefine-linux-${OPENREFINE_VERSION}.tar.gz
ENV OPENREFINE_URL https://github.com/OpenRefine/OpenRefine/releases/download/${OPENREFINE_VERSION}/${OPENREFINE_FILE}
ENV OPENREFINE_VERSION=3.5.0
ENV OPENREFINE_FILE=openrefine-linux-${OPENREFINE_VERSION}.tar.gz
ENV OPENREFINE_URL=https://github.com/OpenRefine/OpenRefine/releases/download/${OPENREFINE_VERSION}/${OPENREFINE_FILE}
WORKDIR /app
RUN set -xe \
&& apk add --no-cache bash curl tar \
&& curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
RUN curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
VOLUME /data
WORKDIR /data

View File

@ -12,13 +12,15 @@ Please read the [wiki][2] to learn more.
### docker-compose.yml
```yaml
openrefine:
image: vimagick/openrefine
ports:
- "3333:3333"
volumes:
- ./data:/data
restart: unless-stopped
version: "3.8"
services:
openrefine:
image: vimagick/openrefine
ports:
- "3333:3333"
volumes:
- ./data:/data
restart: unless-stopped
```
[1]: http://openrefine.org/index.html

View File

@ -1,7 +1,9 @@
openrefine:
image: vimagick/openrefine
ports:
- "3333:3333"
volumes:
- ./data:/data
restart: unless-stopped
version: "3.8"
services:
openrefine:
image: vimagick/openrefine
ports:
- "3333:3333"
volumes:
- ./data:/data
restart: unless-stopped