From f02ec08182abb67b002486bd093999fac014a85c Mon Sep 17 00:00:00 2001 From: Andrew Miller Date: Sun, 10 Sep 2023 12:34:21 -0500 Subject: [PATCH] simplify instruction --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7513fe8..63c2b44 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,19 @@ The starting point for the Dockerfile is the Gramine-based from Revm Relay hacka The point of this is to emphasize the verification process that can be completed even without SGX, by reproducing the MRENCLAVE and inspecting remote attestation quotes. -## Replicating the MRENCLAVE build (no SGX required) +## Init the git submodules + +This repo references mtcs as a submodule, but the Dockerfile simply copies mtcs from the current directory. +So don't forget to have git apply the submodules when cloning the repo +```bash +git submodule update --init --recursive +``` +## Replicating the MRENCLAVE build (no SGX required The following will build mtcs, then freeze all dependencies from the docker environment into the gramine manifest, and finally display the resulting MRENCLAVE ```bash docker build . --tag mtcs -docker run -it -v ./data:/workdir/data mtcs +docker run mtcs ``` Let's see how long this remains reproducible: