Sfoglia il codice sorgente

Dockerfile for pirserver repo

Ian Goldberg 2 anni fa
parent
commit
1a3638e11c
2 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 4 0
      build-docker.sh
  2. 7 0
      docker/Dockerfile

+ 4 - 0
build-docker.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cd docker
+docker build -t pirserver_image .

+ 7 - 0
docker/Dockerfile

@@ -0,0 +1,7 @@
+FROM zt_image
+WORKDIR /pir
+RUN git clone https://git-crysp.uwaterloo.ca/piros/pirserver.git
+WORKDIR /pir/pirserver
+RUN ln -s ../ZeroTrace .
+RUN make
+RUN cp ZeroTrace/enclave.signed.so .