|
@@ -3,18 +3,17 @@ RUN apt update
|
|
RUN apt install -y gawk python-pip
|
|
RUN apt install -y gawk python-pip
|
|
RUN pip install protobuf
|
|
RUN pip install protobuf
|
|
RUN pip install pycrypto
|
|
RUN pip install pycrypto
|
|
|
|
+RUN sudo apt install -y libprotobuf-c-dev protobuf-c-compiler bison python3-pip
|
|
|
|
|
|
WORKDIR /root
|
|
WORKDIR /root
|
|
RUN git clone https://github.com/oscarlab/graphene
|
|
RUN git clone https://github.com/oscarlab/graphene
|
|
WORKDIR graphene
|
|
WORKDIR graphene
|
|
-RUN git checkout 58e6087
|
|
|
|
RUN git submodule init
|
|
RUN git submodule init
|
|
RUN git submodule update
|
|
RUN git submodule update
|
|
RUN cd Pal/src/host/Linux-SGX/sgx-driver && git checkout 30d4b940
|
|
RUN cd Pal/src/host/Linux-SGX/sgx-driver && git checkout 30d4b940
|
|
-WORKDIR /root/graphene
|
|
|
|
COPY isgx_version.h Pal/src/host/Linux-SGX/sgx-driver/
|
|
COPY isgx_version.h Pal/src/host/Linux-SGX/sgx-driver/
|
|
RUN mkdir Pal/src/host/Linux-SGX/sgx-driver/linux-sgx-driver
|
|
RUN mkdir Pal/src/host/Linux-SGX/sgx-driver/linux-sgx-driver
|
|
COPY sgx_user.h Pal/src/host/Linux-SGX/sgx-driver/linux-sgx-driver/
|
|
COPY sgx_user.h Pal/src/host/Linux-SGX/sgx-driver/linux-sgx-driver/
|
|
RUN openssl genrsa -3 -out Pal/src/host/Linux-SGX/signer/enclave-key.pem 3072
|
|
RUN openssl genrsa -3 -out Pal/src/host/Linux-SGX/signer/enclave-key.pem 3072
|
|
-RUN make SGX=1
|
|
|
|
-WORKDIR /root
|
|
|
|
|
|
+#RUN make SGX=1
|
|
|
|
+#WORKDIR /root
|