File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,16 @@ build_% : repository
73
73
--tag pdo_$* :$(PDO_VERSION ) \
74
74
--file ' $(DOCKER_DIR)' /pdo_$* .dockerfile .
75
75
76
- sgx_build_services : $(IAS_CERTIFICATES ) repository build_services_base
76
+ # overwrite above build rules for SGX-dependent images
77
+ rebuild_services_sgx : repository
78
+ docker build $(DOCKER_ARGS ) \
79
+ --build-arg REBUILD=$(TIMESTAMP ) \
80
+ --build-arg PDO_VERSION=$(PDO_VERSION ) \
81
+ --build-arg SGX_MODE=HW \
82
+ --tag pdo_services_sgx:$(PDO_VERSION ) \
83
+ --file $(DOCKER_DIR ) /pdo_services.dockerfile .
84
+
85
+ build_services_sgx : $(IAS_CERTIFICATES ) repository build_services_base
77
86
docker build $(DOCKER_ARGS ) \
78
87
--build-arg PDO_VERSION=$(PDO_VERSION ) \
79
88
--build-arg SGX_MODE=HW \
@@ -168,7 +177,7 @@ test : clean_config clean_repository build_test stop_all
168
177
PDO_VERSION=$(PDO_VERSION ) docker-compose $(TEST_FILES ) up --abort-on-container-exit
169
178
PDO_VERSION=$(PDO_VERSION ) docker-compose $(TEST_FILES ) down
170
179
171
- sgx_build_test : repository sgx_build_services build_ccf build_client
180
+ sgx_build_test : repository build_services_sgx build_ccf build_client
172
181
173
182
sgx_keys :
174
183
# Prepare sgx keys.
You can’t perform that action at this time.
0 commit comments