mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
update openrefine
This commit is contained in:
parent
8f53c3c54e
commit
a0d69eed43
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user