Skip to content

Commit

Permalink
fix image build by removing venv which is broken in alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Jun 4, 2021
1 parent 3022cd9 commit a5ff2ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.9
LABEL maintainer="OSC"

# Set language to avoid bugs that sometimes appear
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a5ff2ad

Please sign in to comment.