Dockerfile 713 B

123456789101112
  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 numactl time
  5. WORKDIR /root
  6. RUN git clone https://github.com/encryptogroup/OTExtension.git
  7. RUN cd OTExtension/ && git checkout a9aa1ac94b7b3f171424af26c211c13dd342f712 && mkdir build && cd build && cmake .. && make && make install
  8. COPY . duoram
  9. RUN cd duoram/preprocessing && make -j`nproc`
  10. RUN cd duoram/duoram-online && make -j`nproc`
  11. RUN cd duoram/2p-preprocessing && make -j`nproc`
  12. RUN cd duoram/cpir-read/cxx && make -j`nproc`