Skip to content

Commit

Permalink
fixing x86 image references
Browse files Browse the repository at this point in the history
  • Loading branch information
6a6d committed May 8, 2023
1 parent d701fee commit c9a0472
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
19 changes: 19 additions & 0 deletions containthedocs-check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

set -x

echo "Checking grammar and style"
# Runs the grammar check on everything except the /docs/drafts directory
#write-good `find ./docs -not \( -path ./docs/drafts -prune \) -name '*.rst'` --so --no-illusion --thereIs --cliches || true
# echo "Checking links"
# make linkcheck

COMMAND="write-good `find ./docs -name '*.rst'`"

. ./containthedocs-image-$ARCH

exec docker run --rm -it \
-v "$PWD":"$PWD" --workdir "$PWD" \
${DOCKER_RUN_ARGS} \
-e "LOCAL_USER_ID=$(id -u)" \
${DOC_IMG} ${COMMAND}
2 changes: 1 addition & 1 deletion containthedocs-cleanbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x

COMMAND="make -C docs clean html"

. ./containthedocs-image
. ./containthedocs-image-$ARCH

exec docker run --rm -it \
-v "$PWD":"$PWD" --workdir "$PWD" \
Expand Down
2 changes: 1 addition & 1 deletion containthedocs-image-x86_64
Original file line number Diff line number Diff line change
@@ -1 +1 @@
: ${DOC_IMG:=wetspark/combo-ctd:x86_64}
: ${DOC_IMG:=f5devcentral/containthedocs:latest}
2 changes: 1 addition & 1 deletion containthedocs-singlehtml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x

COMMAND="make -C docs singlehtml"

. ./containthedocs-image
. ./containthedocs-image-$ARCH

exec docker run --rm -it \
-v "$PWD":"$PWD" --workdir "$PWD" \
Expand Down
2 changes: 1 addition & 1 deletion containthedocs-spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x

COMMAND="make -C docs spelling"

. ./containthedocs-image
. ./containthedocs-image-$ARCH

exec docker run --rm -it \
-v "$PWD":"$PWD" --workdir "$PWD" \
Expand Down
2 changes: 1 addition & 1 deletion containthedocs-wget
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -x

ARCH=`uname -m`

. ../../containthedocs-image-$ARCH
. ./containthedocs-image-$ARCH

exec docker run --rm -it \
-v "$PWD":"$PWD" --workdir "$PWD" \
Expand Down

0 comments on commit c9a0472

Please sign in to comment.