This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new e183536  [docs] Fix docker image and command for building (#298)
e183536 is described below

commit e1835364b969a7e20218ab499920467c8552b1ea
Author: Mingshen Sun <[email protected]>
AuthorDate: Mon May 18 00:30:24 2020 -0700

    [docs] Fix docker image and command for building (#298)
---
 docs/my-first-function.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/my-first-function.md b/docs/my-first-function.md
index 5d6fd69..738f05f 100644
--- a/docs/my-first-function.md
+++ b/docs/my-first-function.md
@@ -39,8 +39,9 @@ Build the Teaclave platform using docker:
 ```
 $ cd incubator-teaclave
 $ docker run --rm -v $(pwd):/teaclave -w /teaclave \
-  -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9:latest \
+  -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \
    bash -c ". /root/.cargo/env && \
+     . /opt/sgxsdk/environment && \
      mkdir -p build && cd build && \
      cmake -DTEST_MODE=ON .. && \
      make"
@@ -131,8 +132,9 @@ Then clone and build Teaclave (with the `-DSGX_SIM_MODE=ON` 
option in `cmake`).
 $ git clone https://github.com/apache/incubator-teaclave.git
 $ cd incubator-teaclave
 $ docker run --rm -v $(pwd):/teaclave -w /teaclave \
-  -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9:latest \
+  -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \
    bash -c ". /root/.cargo/env && \
+     . /opt/sgxsdk/environment && \
      mkdir -p build && cd build && \
      cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON .. && \
      make"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to