-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (32 loc) · 1.06 KB
/
Dockerfile
File metadata and controls
41 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM maven:3.6.3-jdk-8
ARG TAGME_KEY
ARG SERVER_PORT
ARG GN_USER
RUN cd /opt && \
git clone https://github.com/luigi-asprino/rocks-map.git && \
cd /opt/rocks-map && \
git checkout 0.0.4.pr && \
mvn clean install -Dgpg.skip && \
cd /opt && \
git clone https://github.com/luigi-asprino/hdt-java.git && \
cd /opt/hdt-java && \
git checkout 2.1.2.pr && \
mvn clean install && \
cd /opt && \
git clone https://github.com/luigi-asprino/lgu-commons.git && \
cd /opt/lgu-commons && \
git checkout 0.0.7.pr && \
mvn clean install -Dgpg.skip && \
cd /opt && \
git clone https://github.com/luigi-asprino/lgu-commons-nlp.git && \
cd /opt/lgu-commons-nlp && \
mvn clean install && \
cd /opt && \
git clone https://github.com/ecodigit/entitylinking.git && \
cd /opt/entitylinking && \
mvn clean install
RUN echo "port=${SERVER_PORT}" > /opt/entitylinking/config.properties
RUN echo "${TAGME_KEY}" > /opt/entitylinking/tagme.key
RUN echo "${GN_USER}" > /opt/entitylinking/geonames.username
EXPOSE ${SERVER_PORT}
CMD ["/bin/bash", "/opt/entitylinking/start.sh"]