Browse Source

Dockerfile for pirserver repo

Ian Goldberg 1 year ago
parent
commit
1a3638e11c
2 changed files with 11 additions and 0 deletions
  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 .