feat: add run command and fix output format

This commit is contained in:
Anton Livaja 2024-09-27 02:11:25 -04:00
parent 58d68a43d5
commit a4a0edfe8a
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
1 changed files with 11 additions and 6 deletions

View File

@ -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