]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
870f3c5
)
DB testing: Prevented caching during build
author
Dan Brown
<redacted>
Sat, 22 Nov 2025 12:40:30 +0000
(12:40 +0000)
committer
Dan Brown
<redacted>
Sat, 22 Nov 2025 12:40:30 +0000
(12:40 +0000)
To prevent re-using code when re-run for same branch.
dev/docker/db-testing/run.sh
patch
|
blob
|
history
diff --git
a/dev/docker/db-testing/run.sh
b/dev/docker/db-testing/run.sh
index 265b4f0f91c9a44227909674cdc190175d3442b8..fe6ee45085ac994231af2529def1b1e028669687 100755
(executable)
--- a/
dev/docker/db-testing/run.sh
+++ b/
dev/docker/db-testing/run.sh
@@
-3,7
+3,7
@@
BRANCH=${1:-development}
# Build the container with a known name
-docker build --build-arg BRANCH="$BRANCH" -t bookstack:db-testing .
+docker build --
no-cache --
build-arg BRANCH="$BRANCH" -t bookstack:db-testing .
if [ $? -eq 1 ]; then
echo "Failed to build app container for testing"
exit 1