-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
52 lines (39 loc) · 1.49 KB
/
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
45
46
47
48
49
50
51
52
FROM debian:jessie
MAINTAINER Natanael Arndt <[email protected]>
LABEL org.aksw.dld=true org.aksw.dld.type="store" org.aksw.dld.provide="virtuoso" org.aksw.dld.env="PWDDBA"
# Let the conatiner know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
# install some basic packages
RUN apt-get install -y libldap-2.4-2 libssl1.0.0 unixodbc
ADD virtuoso-minimal_7.2_all.deb \
virtuoso-opensource-7-bin_7.2_amd64.deb \
libvirtodbc0_7.2_amd64.deb \
/
# for conductor, but doesn't seam to be enough
#ADD virtuoso-vad-conductor_7.2_all.deb \
# virtuoso-opensource_7.2_all.deb \
# virtuoso-opensource-7_7.2_amd64.deb \
# virtuoso-opensource-7-common_7.2_amd64.deb \
# virtuoso-vsp-startpage_7.2_all.deb \
# virtuoso-server_7.2_all.deb \
# /
RUN dpkg -i virtuoso-minimal_7.2_all.deb \
virtuoso-opensource-7-bin_7.2_amd64.deb \
libvirtodbc0_7.2_amd64.deb
# for conductor, but doesn't seam to be enough
#RUN dpkg -i virtuoso-vad-conductor_7.2_all.deb \
# virtuoso-vsp-startpage_7.2_all.deb \
# virtuoso-opensource_7.2_all.deb \
# virtuoso-opensource-7_7.2_amd64.deb \
# virtuoso-opensource-7-common_7.2_amd64.deb \
# virtuoso-server_7.2_all.deb
ADD virtuoso.ini.dist run.sh /
# expose the ODBC and management ports to the outer world
EXPOSE 1111
EXPOSE 8890
ENV PWDDBA="dba"
VOLUME "/var/lib/virtuoso/db"
VOLUME "/import_store"
WORKDIR /var/lib/virtuoso/db
CMD ["/run.sh"]