-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (28 loc) · 869 Bytes
/
Dockerfile
File metadata and controls
35 lines (28 loc) · 869 Bytes
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
FROM ubuntu:latest
MAINTAINER Tom Neumann <tom.neumann@stud.htwk-leipzig.de>
#Config and data
VOLUME /fuseki
ENV FUSEKI_BASE /fuseki
#Installation directory
ENV FUSEKI_HOME /jena-fuseki
#ENV DEPS pwgen
RUN export DEBIAN_FRONTEND=noninteractive && \
rm -rf /var/libapt/lists/* && \
apt-get update && \
apt-get -y install perl tar wget curl openjdk-7-jre-headless && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rf /var/lib/apt/lists/* /tmp/*
ADD ./jena-fuseki $FUSEKI_HOME
COPY shiro.ini /jena-fuseki/shiro.ini
COPY docker-entrypoint.sh /
RUN chmod 755 /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
#Loader
COPY load.sh /jena-fuseki/
COPY tdbloader /jena-fuseki/
RUN chmod 755 /jena-fuseki/load.sh /jena-fuseki/tdbloader
#Start the server from
WORKDIR /jena-fuseki
EXPOSE 3030
CMD ["/jena-fuseki/fuseki-server"]