# https://edp.fortanix.com/docs/installation/guide/ #FROM teems FROM ubuntu:22.04 RUN apt update && apt install -y curl git pkg-config libssl-dev \ protobuf-compiler python3 build-essential numactl WORKDIR /root RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh RUN bash rustup-init.sh -y ENV PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN rustup default nightly RUN rustup target add x86_64-fortanix-unknown-sgx --toolchain nightly RUN cargo install fortanix-sgx-tools sgxs-tools COPY . sparta-experiments WORKDIR /root/sparta-experiments RUN git submodule init RUN git submodule update WORKDIR /root/sparta-experiments/sparta RUN make WORKDIR /root/sparta-experiments