@digitalinformation I think you need to execute this command inside docker, not 
on the host machine. You may change the docker command to

```sh
docker run --rm -v $(pwd):/teaclave -w /teaclave \
  -it teaclave/teaclave-build-ubuntu-2004-sgx-2.17.1:0.2.0 \
   bash -c ". /root/.cargo/env && \
     . /opt/sgxsdk/environment && \                        
     mkdir -p build && cd build && \            
     git config --global --add safe.directory '*' && \ # <--- Add this line
     cmake -DTEST_MODE=ON .. && \            
     make -j"
```

or you can enter docker with an interactive shell like bash or something.

BTW, I think the build documentation on the website should be updated.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/708#issuecomment-1640170253
You are receiving this because you are subscribed to this thread.

Message ID: <apache/incubator-teaclave/issues/708/1640170...@github.com>

Reply via email to