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 <[email protected]> --- 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 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
