Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Introduce Dockerfile #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.*
Dockerfile
datasets/*
reports
README.md
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM frolvlad/alpine-python3

RUN apk add --update make \
cmake \
swig \
bash \
python3-dev \
build-base \
openblas-dev

RUN pip install --upgrade pip

RUN pip install --upgrade PyYAML \
numpy \
timeout_decorator \
scipy \
sklearn \
simplejson

WORKDIR /usr/src/benchmarks
COPY . .

RUN make setup

RUN rm -rf ./libraries/*.tar.gz \
rm -rf ./libraries/*.zip \
rm -rf ./libraries/*.jar

# TODO rm libraries *.tar.gz
ENTRYPOINT ["/usr/bin/make", "run"]