From 80e34ec3ad690507d9f21d9e58943f89bd267107 Mon Sep 17 00:00:00 2001 From: "Shah, Karan" Date: Thu, 14 Nov 2024 13:53:25 +0530 Subject: [PATCH] Remove --sgx-ready flag Signed-off-by: Shah, Karan --- openfl-docker/gramine_app/fx.manifest.template | 2 +- openfl/interface/workspace.py | 15 ++------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/openfl-docker/gramine_app/fx.manifest.template b/openfl-docker/gramine_app/fx.manifest.template index 93ad6c0d01..928dff0f56 100755 --- a/openfl-docker/gramine_app/fx.manifest.template +++ b/openfl-docker/gramine_app/fx.manifest.template @@ -6,7 +6,7 @@ # ------------------------------------- libos.entrypoint = "{{ entrypoint }}" -loader.entrypoint = "file:{{ gramine.libos }}" +loader.entrypoint.uri = "file:{{ gramine.libos }}" loader.log_level = "{{ log_level }}" loader.insecure__use_cmdline_argv = true diff --git a/openfl/interface/workspace.py b/openfl/interface/workspace.py index 32c264a6a8..2da2b1bc04 100644 --- a/openfl/interface/workspace.py +++ b/openfl/interface/workspace.py @@ -389,21 +389,12 @@ def export_() -> str: default=False, help="If set, rebuilds docker images with `--no-cache` option.", ) -@option( - "--sgx-ready", - is_flag=True, - default=False, - help="If set, builds an SGX-enabled OpenFL enclave.", -) @option( "--enclave-key", "enclave_key", type=str, required=False, - help=( - "Path to an enclave signing key. If not provided, a new key will be generated. " - "This option is only valid when `--sgx-ready` is set." - ), + help="Path to an enclave signing key. If not provided, a new key will be generated. ", ) @option( "--revision", @@ -417,9 +408,7 @@ def export_() -> str: ), ) @pass_context -def dockerize_( - context, save: bool, rebuild: bool, sgx_ready: bool, enclave_key: str, revision: str -): +def dockerize_(context, save: bool, rebuild: bool, enclave_key: str, revision: str): """Package current workspace as a Docker image.""" # Docker build options