Skip to content

Commit

Permalink
Remove --sgx-ready flag
Browse files Browse the repository at this point in the history
Signed-off-by: Shah, Karan <[email protected]>
  • Loading branch information
MasterSkepticista committed Nov 14, 2024
1 parent fe91455 commit 80e34ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion openfl-docker/gramine_app/fx.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 2 additions & 13 deletions openfl/interface/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand Down

0 comments on commit 80e34ec

Please sign in to comment.