[cpp-linbuild] 22/25: Disable Docker cache for component sub-images

Scott Cantor cantor.2 at osu.edu
Mon Apr 5 12:47:05 UTC 2021


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository cpp-linbuild.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-linbuild.git;a=commit;h=ae1bdcae001bf483c51bee5e802a93f5cebb87dd

commit ae1bdcae001bf483c51bee5e802a93f5cebb87dd
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Sun Feb 28 22:18:26 2021 +0000

    Disable Docker cache for component sub-images
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c66690d..1aeb6fc 100644
--- a/Makefile
+++ b/Makefile
@@ -199,7 +199,8 @@ $(srcdir)os/$(2)/image/Dockerfile.$$($(1)_COMPNAME):
 
 $(1)_$(2)_image_token = $$(srcdir).$(1)_$(2)_image
 $$($(1)_$(2)_image_token): $$($(2)_token) $(srcdir)os/$(2)/image/Dockerfile.$$($(1)_COMPNAME) $(srcdir)os/$(2)/image/build-$$($(1)_COMPNAME).sh
-	docker build -t shibboleth/$(2):$($(1)_COMPNAME) \
+	docker build --no-cache \
+		-t shibboleth/$(2):$($(1)_COMPNAME) \
 		-f os/$(2)/image/Dockerfile.$$($(1)_COMPNAME) \
 		os/$(2)/image
 	touch $$($(1)_$(2)_image_token)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list