Skip to content

Commit 44fc4b6

Browse files
committed
update build script
1 parent 1d4d82a commit 44fc4b6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

containthedocs-build.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
set -x
44

5-
COMMAND="make -C docs html"
6-
5+
COMMAND=(/bin/bash -c "sudo pip install -r requirements.txt -U ; make -C docs clean html")
76

87
. ./containthedocs-image
98

10-
exec sudo docker run --rm -it \
9+
exec docker run --rm -t \
1110
-v "$PWD":"$PWD" --workdir "$PWD" \
1211
${DOCKER_RUN_ARGS} \
1312
-e "LOCAL_USER_ID=$(id -u)" \
14-
${DOC_IMG} ${COMMAND}
13+
${DOC_IMG} "${COMMAND[@]}"

0 commit comments

Comments
 (0)