From 860a1128e6ace4ed4615788b73f2c5c04eba2893 Mon Sep 17 00:00:00 2001 From: Michael Steiner Date: Fri, 26 Apr 2024 18:32:46 +0000 Subject: [PATCH] Add sgx-version of services_dev container Signed-off-by: Michael Steiner --- docker/make.dev | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/make.dev b/docker/make.dev index 28fffcb9..32a03d50 100644 --- a/docker/make.dev +++ b/docker/make.dev @@ -49,6 +49,12 @@ run_services_dev : build_base build_services_base build_services $(DOCKER_COMMAND) run $(DOCKER_DEV_ARGS) --name services_container_dev \ -P pdo_services:$(PDO_VERSION) -c "$(DOCKER_DEV_CMD)" +run_services_sgx_dev : build_base build_services_base build_services_sgx + $(DOCKER_COMMAND) run $(DOCKER_DEV_ARGS) --name services_container_sgx_dev \ + --volume=/var/run/aesmd:/var/run/aesmd \ + --device=$(SGX_DEVICE_PATH):$(SGX_DEVICE_PATH) \ + -P pdo_services_sgx:$(PDO_VERSION) -c "$(DOCKER_DEV_CMD)" + run_client_dev : build_base build_client $(DOCKER_COMMAND) run $(DOCKER_CLIENT_DEV_ARGS) $(DOCKER_DEV_ARGS) --name client_container_dev pdo_client:$(PDO_VERSION) \ -c "$(DOCKER_DEV_CMD)"