Skip to content

Commit

Permalink
Install fortanix sgx tools
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Jan 13, 2024
1 parent 41a48b8 commit b8ca25c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then \
mv hurl-4.1.0-x86_64-unknown-linux-gnu/hurl /usr/local/bin/ && \
rm -r hurl-4.1.0-x86_64-unknown-linux-gnu && \
rm hurl.tar.gz && \
rustup component add llvm-tools-preview --toolchain $(cat rust_toolchain_version)-x86_64-unknown-linux-gnu && \
rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly; \
rustup component add llvm-tools-preview --toolchain $(cat rust_toolchain_version)-x86_64-unknown-linux-gnu; \
fi

# Install sgx tools
ARG TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then \
rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly && \
cargo binstall fortanix-sgx-tools sgxs-tools -y; \
fi

RUN curl -L https://install.dojoengine.org | bash
Expand Down

0 comments on commit b8ca25c

Please sign in to comment.