[PATCH v3 01/16] docker: Don't force rebuilds
Stephen Finucane
stephen at that.guru
Sat Nov 26 05:18:20 AEDT 2016
It's frustrating to have to rebuild the Docker image everytime the
requirements change. Simply warn the user instead and let them take the
intiative where necessary.
Signed-off-by: Stephen Finucane <stephen at that.guru>
---
tools/docker/entrypoint.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/docker/entrypoint.sh b/tools/docker/entrypoint.sh
index 5a23fa3..d06b271 100755
--- a/tools/docker/entrypoint.sh
+++ b/tools/docker/entrypoint.sh
@@ -40,9 +40,8 @@ fi
for x in /tmp/requirements-*.txt; do
if ! cmp $x ~/patchwork/$(basename $x); then
echo "A requirements file has changed."
- echo "Please rebuild the patchwork image:"
+ echo "You may need to rebuild this image:"
echo " docker-compose build web"
- exit 1
fi
done
--
2.7.4
More information about the Patchwork
mailing list