Commit 56cb57aa authored by Duncan Macleod's avatar Duncan Macleod

docs: install python3 inside docker container

parent 7e6cca9f
Pipeline #47547 failed with stages
in 27 minutes and 48 seconds
......@@ -49,15 +49,17 @@ docs:
only:
- master
before_script:
# install python
- apk add python3
# unpack /cvmfs contents into temporary dir
- CONDA_BASE="${CI_PROJECT_DIR}/condaconda"
- mkdir -pv ${CONDA_BASE}
- docker save ${TAG} | tar -x -C ${CONDA_BASE}
script:
- python -m pip install -r docs/requirements.txt --user
- python3 -m pip install -r docs/requirements.txt --user
- cd docs
- source ${CONDA_BASE}/etc/profile.d/conda.sh
- python -m sphinx -M html . ../build/sphinx
- python3 -m sphinx -M html . ../build/sphinx
artifacts:
paths:
- build/sphinx/html
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment