Dockerfile 774 B

1234567891011121314
  1. FROM ubuntu:20.04
  2. ARG DEBIAN_FRONTEND=noninteractive
  3. #the above line is avoid interaction
  4. RUN apt update && apt install -y wget git build-essential net-tools iproute2 iperf iputils-ping libgmp-dev libbsd-dev libssl-dev libboost-all-dev iproute2 iperf iputils-ping wget cargo cmake
  5. WORKDIR /root
  6. RUN git clone https://github.com/encryptogroup/OTExtension.git
  7. RUN cd OTExtension/ && mkdir build && cd build && cmake .. && make
  8. RUN git clone git://git-crysp.uwaterloo.ca/duoram
  9. RUN git clone https://git-crysp.uwaterloo.ca/iang/spiral-spir
  10. RUN cd duoram/usenix-artifact/preprocessing && make
  11. RUN cd duoram/usenix-artifact/duoram-online && make
  12. RUN cd duoram/usenix-artifact/2p-preprocessing && make
  13. RUN cd duoram/2P-duoram/cxx && make test0 test1 spir_test0 spir_test1