From 8179b681377946015d5de844f5c759abbd6de14b Mon Sep 17 00:00:00 2001 From: Michael Steiner Date: Wed, 17 Apr 2024 09:45:25 -0700 Subject: [PATCH] Build dependency bug fix Signed-off-by: Michael Steiner --- docker/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docker/Makefile b/docker/Makefile index ce2162bb..e4617487 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -73,7 +73,16 @@ build_% : repository --tag pdo_$*:$(PDO_VERSION) \ --file '$(DOCKER_DIR)'/pdo_$*.dockerfile . -sgx_build_services : $(IAS_CERTIFICATES) repository build_services_base +# overwrite above build rules for SGX-dependent images +rebuild_services_sgx : repository + docker build $(DOCKER_ARGS) \ + --build-arg REBUILD=$(TIMESTAMP) \ + --build-arg PDO_VERSION=$(PDO_VERSION) \ + --build-arg SGX_MODE=HW \ + --tag pdo_services_sgx:$(PDO_VERSION) \ + --file $(DOCKER_DIR)/pdo_services.dockerfile . + +build_services_sgx : $(IAS_CERTIFICATES) repository build_services_base docker build $(DOCKER_ARGS) \ --build-arg PDO_VERSION=$(PDO_VERSION) \ --build-arg SGX_MODE=HW \