diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..09e9b2c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +.* +Dockerfile +datasets/* +reports +README.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5c7522d --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file