forked from csiro-mlai/deep-mpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (22 loc) · 862 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM ubuntu:18.04
ENV TZ=Australia/Sydney
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get -y install wget tar openssl git make cmake \
python3 python3-pip clang libsodium-dev autoconf automake \
libtool yasm texinfo libboost-dev libssl-dev libboost-system-dev \
libboost-thread-dev libgmp-dev rsync ssh openssh-server procps
WORKDIR /root
ADD download.sh .
RUN ./download.sh
RUN git clone https://github.com/data61/MP-SPDZ
RUN cd MP-SPDZ; git checkout 99c0549e7205f4a4550cff836abc417227193fa0
ADD build-mp-spdz.sh .
RUN ./build-mp-spdz.sh
ADD ssh_config .ssh/config
ADD setup-ssh.sh .
RUN ./setup-ssh.sh
ADD convert.sh *.py ./
RUN ./convert.sh
ADD *.sh *.py HOSTS ./
RUN ./run-local.sh emul D prob 2 3 32 adamapprox
RUN service ssh start; ./run-remote.sh sh3 A near 1 1 16 rate.1