From bd51fafaad58998cd0c7cc8f5d82392c76d06f66 Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Thu, 4 May 2023 10:43:27 -0700 Subject: [PATCH] Always pull base images when building frontend / backend images (#18) For consistency with other Antrea projects (antrea & theia). Signed-off-by: Antonin Bas --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d0eba657..2099f227 100644 --- a/Makefile +++ b/Makefile @@ -64,12 +64,12 @@ clean: .PHONY: build-frontend build-frontend: - docker build -t antrea/antrea-ui-frontend:$(DOCKER_IMG_VERSION) -f build/frontend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) . + docker build --pull -t antrea/antrea-ui-frontend:$(DOCKER_IMG_VERSION) -f build/frontend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) . docker tag antrea/antrea-ui-frontend:$(DOCKER_IMG_VERSION) antrea/antrea-ui-frontend .PHONY: build-backend build-backend: - docker build -t antrea/antrea-ui-backend:$(DOCKER_IMG_VERSION) -f build/backend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) . + docker build --pull -t antrea/antrea-ui-backend:$(DOCKER_IMG_VERSION) -f build/backend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) . docker tag antrea/antrea-ui-backend:$(DOCKER_IMG_VERSION) antrea/antrea-ui-backend .PHONY: build