diff --git a/Dockerfile b/Dockerfile index 362cfc6..a7b14af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM alpine:3.9 LABEL maintainer="OSC" # Set language to avoid bugs that sometimes appear @@ -25,12 +25,11 @@ RUN apk add --no-cache --virtual .ssl-deps \ && apk del .ssl-deps # Install Sphinx and extras -ADD Pipfile* /tmp/ +ADD requirements.txt /tmp/ -RUN pip3 install pipenv=='2018.11.26' \ - && cd /tmp \ - && pipenv install --deploy --system \ - && rm -rf /tmp/Pipfile* +RUN python3 -m pip install wheel \ + && python3 -m pip install -r /tmp/requirements.txt \ + && rm -rf /tmp/requirements.txt # Stop Java from writing files in documentation source ENV _JAVA_OPTIONS -Duser.home=/tmp diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..a113497 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +sphinx==1.8.0 +sphinx-rtd-theme==0.4.3 +sphinxcontrib-plantuml==0.15 +sphinxcontrib-httpdomain==1.7.0 +docutils==0.14 \ No newline at end of file