|
@@ -3,10 +3,18 @@ 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
|
|
|
|
+WORKDIR /root/.ssh
|
|
|
|
+
|
|
|
|
+#Temp - TODO: Make the git repo public and remove these commands and retest.
|
|
|
|
+COPY gitcrysp-docker-deploy-key.id_rsa ./id_rsa
|
|
|
|
+COPY gitcrysp-docker-deploy-key.id_rsa.pub ./id_rsa.pub
|
|
|
|
+RUN ssh-keyscan git-crysp.uwaterloo.ca > ./known_hosts
|
|
|
|
+
|
|
WORKDIR /root
|
|
WORKDIR /root
|
|
-RUN git clone https://github.com/oscarlab/graphene
|
|
|
|
|
|
+RUN git clone gogs@git-crysp.uwaterloo.ca:miti/graphene.git
|
|
WORKDIR graphene
|
|
WORKDIR graphene
|
|
-RUN git checkout 58e6087
|
|
|
|
|
|
+RUN git checkout mitigator_patch
|
|
|
|
+RUN git checkout 2263b701
|
|
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
|