Skip to content

Commit c05ce90

Browse files
committed
dockerfiles for standalone and pkg with virtuoso
1 parent 2eeffb4 commit c05ce90

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.git
2+
data
3+
logs
4+
results
5+
venv

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# batteries included (virtuoso for run on cluster with local db)
2+
FROM joernhees/virtuoso:latest
3+
4+
ENTRYPOINT []
5+
RUN export LC_ALL=C ; RUN ln -s /usr/bin/isql-vt /usr/local/bin/isql
6+
RUN apt-get update ; apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev git lzop
7+
RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash ; export PATH="/usr/local/var/pyenv/bin:$PATH" ; export PYENV_ROOT="$HOME/.pyenv" ; eval "$(pyenv init --path)"
8+
RUN pyenv install 2.7.18 ; pyenv global 2.7.18 ; pip install --upgrade pip virtualenv
9+
10+
COPY requirements.txt /tmp
11+
RUN pip install -r /tmp/requirements.txt

Dockerfile_standalone

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# standalone (for use with external virtuoso)
2+
FROM python:2
3+
4+
COPY requirements.txt /tmp
5+
6+
RUN pip install -r /tmp/requirements.txt

0 commit comments

Comments
 (0)