We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d4d82a commit 44fc4b6Copy full SHA for 44fc4b6
containthedocs-build.sh
@@ -2,13 +2,12 @@
2
3
set -x
4
5
-COMMAND="make -C docs html"
6
-
+COMMAND=(/bin/bash -c "sudo pip install -r requirements.txt -U ; make -C docs clean html")
7
8
. ./containthedocs-image
9
10
-exec sudo docker run --rm -it \
+exec docker run --rm -t \
11
-v "$PWD":"$PWD" --workdir "$PWD" \
12
${DOCKER_RUN_ARGS} \
13
-e "LOCAL_USER_ID=$(id -u)" \
14
- ${DOC_IMG} ${COMMAND}
+ ${DOC_IMG} "${COMMAND[@]}"
0 commit comments