Commit d9d69bb5 authored by Marc Egger's avatar Marc Egger
Browse files

refs #10754 make path executable and remove requirements.txt

parent 5ade9776
Pipeline #3537 passed with stages
in 5 minutes and 58 seconds
......@@ -4,4 +4,5 @@
docker-html:
rm -rf _build
docker build -t sphinx-qfq ./docker-sphinx-qfq
bash ./docker-sphinx-qfq/makePathExecutable.sh "${PWD}"
docker run --rm --user $$(id -u):$$(id -g) -v $${PWD}:/docs sphinx-qfq sphinx-build -M html "." "_build"
\ No newline at end of file
......@@ -5,4 +5,5 @@ ADD requirements.txt /docs
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git
RUN pip3 install -r requirements.txt
\ No newline at end of file
RUN pip3 install -r requirements.txt
RUN rm requirements.txt
\ No newline at end of file
#!/bin/bash -ex
cd "$(dirname "$1")"
while [[ "$PWD" != "/" ]]
do
echo "make $PWD executable"
chmod o+x . || true
cd ..
done
\ No newline at end of file
Supports Markdown
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