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
|
# Dockerfile for openrefine
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM openjdk:8-jre-alpine
|
FROM openjdk:11
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ENV OPENREFINE_VERSION 3.4.1
|
ENV OPENREFINE_VERSION=3.5.0
|
||||||
ENV OPENREFINE_FILE openrefine-linux-${OPENREFINE_VERSION}.tar.gz
|
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_URL=https://github.com/OpenRefine/OpenRefine/releases/download/${OPENREFINE_VERSION}/${OPENREFINE_FILE}
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN set -xe \
|
RUN curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
|
||||||
&& apk add --no-cache bash curl tar \
|
|
||||||
&& curl -sSL ${OPENREFINE_URL} | tar xz --strip 1
|
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
@ -12,13 +12,15 @@ Please read the [wiki][2] to learn more.
|
|||||||
### docker-compose.yml
|
### docker-compose.yml
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
openrefine:
|
version: "3.8"
|
||||||
image: vimagick/openrefine
|
services:
|
||||||
ports:
|
openrefine:
|
||||||
- "3333:3333"
|
image: vimagick/openrefine
|
||||||
volumes:
|
ports:
|
||||||
- ./data:/data
|
- "3333:3333"
|
||||||
restart: unless-stopped
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
[1]: http://openrefine.org/index.html
|
[1]: http://openrefine.org/index.html
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
openrefine:
|
version: "3.8"
|
||||||
image: vimagick/openrefine
|
services:
|
||||||
ports:
|
openrefine:
|
||||||
- "3333:3333"
|
image: vimagick/openrefine
|
||||||
volumes:
|
ports:
|
||||||
- ./data:/data
|
- "3333:3333"
|
||||||
restart: unless-stopped
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
restart: unless-stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user