-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
44 lines (29 loc) · 862 Bytes
/
Dockerfile
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
42
43
44
#
# DEER Dockerfile
# https://github.com/kvndrsslr/deer_dockerized
#
# pull base image.
FROM maven:3-jdk-8
# maintainer details
MAINTAINER Kevin Dreßler "[email protected]"
RUN \
export DEBIAN_FRONTEND=noninteractive && \
mkdir -p /local
# for now we need to download limes and build it ourselves
WORKDIR /local
RUN apt-get update && apt-get install -y openjfx
# get DEER repository and run maven
RUN git clone https://github.com/SLIPO-EU/DEER.git
WORKDIR /local/DEER
RUN \
mvn clean compile assembly:assembly && \
mv target/deer-0.5.0-jar-with-dependencies.jar ../deer.jar
# attach volumes
VOLUME /volume/data
WORKDIR /volume/data
# set an entrypoint for use as executable
ENTRYPOINT ["java", "-jar", "/local/deer.jar"]
# run with default parameter of "config.ttl"
CMD ["config.ttl"]
# run terminal
#CMD ["/bin/bash"]