From a4a0edfe8ad205453088b9b54539b777fd1e0f86 Mon Sep 17 00:00:00 2001 From: Anton Livaja Date: Fri, 27 Sep 2024 02:11:25 -0400 Subject: [PATCH] feat: add run command and fix output format --- Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 9b8a272..e84ec93 100644 --- a/Makefile +++ b/Makefile @@ -14,11 +14,16 @@ out/enclaveos.tar: out \ docker build \ --tag $(REGISTRY)/enclaveos \ --progress=plain \ - --output "\ - type=oci,\ - rewrite-timestamp=true,\ - force-compression=true,\ - name=enclaveos,\ - dest=$@" \ + --output type=local,rewrite-timestamp=true,dest=out\ -f Containerfile \ src/ + +.PHONY: run +run: out/nitro.eif + sudo nitro-cli \ + run-enclave \ + --cpu-count 2 \ + --memory 512M \ + --eif-path out/nitro.eif \ + --debug-mode \ + --attach-console \ No newline at end of file