[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] automation: Always pull base image when building a container
commit 26ecc08b98fce0d927386058404961768d7830ca Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Tue Feb 28 18:22:26 2023 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Tue Feb 28 18:54:52 2023 +0000 automation: Always pull base image when building a container Ask docker to check if there's an update of the base image to avoid using an old container cached locally. Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- automation/build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/build/Makefile b/automation/build/Makefile index f1d56ce532..4df43b0407 100644 --- a/automation/build/Makefile +++ b/automation/build/Makefile @@ -16,7 +16,7 @@ help: include yocto/yocto.inc %: %.dockerfile ## Builds containers - $(DOCKER_CMD) build -t $(REGISTRY)/$(@D):$(@F) -f $< $(<D) + $(DOCKER_CMD) build --pull -t $(REGISTRY)/$(@D):$(@F) -f $< $(<D) @if [ ! -z $${PUSH+x} ]; then \ $(DOCKER_CMD) push $(REGISTRY)/$(@D):$(@F); \ fi -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |