Skip to content

Commit

Permalink
Build dependency bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Steiner <[email protected]>
  • Loading branch information
Michael Steiner authored and bvavala committed Apr 17, 2024
1 parent e203535 commit 9144ca6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -168,7 +177,7 @@ test : clean_config clean_repository build_test stop_all
PDO_VERSION=$(PDO_VERSION) docker-compose $(TEST_FILES) up --abort-on-container-exit
PDO_VERSION=$(PDO_VERSION) docker-compose $(TEST_FILES) down

sgx_build_test : repository sgx_build_services build_ccf build_client
sgx_build_test : repository build_services_sgx build_ccf build_client

sgx_keys :
# Prepare sgx keys.
Expand Down

0 comments on commit 9144ca6

Please sign in to comment.