-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
46 lines (34 loc) · 1 KB
/
Dockerfile
File metadata and controls
46 lines (34 loc) · 1 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM python:3.10.3-slim
RUN apt-get update -o Acquire::Retries=3 && apt-get install -y --no-install-recommends \
vim \
automake \
build-essential \
yasm \
cmake \
git \
libboost-dev \
libboost-thread-dev \
libclang-dev \
libgmp-dev \
libntl-dev \
libsodium-dev \
libssl-dev \
libtool \
valgrind \
texinfo \
clang \
curl \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
COPY . /MPCGuard
WORKDIR /MPCGuard
RUN pip install -r requirements.txt
WORKDIR /MPCGuard/frameworks/MP-SPDZ
RUN rm -rf deps
RUN git init
RUN make clean-deps boost libote
RUN make -j8 tldr && make -j8 semi2k-party.x replicated-ring-party.x
WORKDIR /MPCGuard/frameworks/tf-encrypted
RUN make build
WORKDIR /MPCGuard
CMD ["/bin/bash"]