We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d849f6 commit 13d8367Copy full SHA for 13d8367
Dockerfile
@@ -0,0 +1,30 @@
1
+FROM archlinux/base
2
+
3
+# base-devel group and git.
4
+RUN pacman --noconfirm -Sy \
5
+ base-devel git
6
7
+# OPAM for Obliv-C.
8
9
+ ocaml ocaml-findlib opam
10
+RUN opam init --disable-sandboxing -y --compiler 4.06.0; \
11
+ eval `opam config env`; \
12
+ opam install -y camlp4 ocamlfind ocamlbuild batteries;
13
14
+# Protobuf-C for linreg-mpc.
15
16
+ protobuf-c
17
18
+# Install Obliv-C.
19
+RUN eval $(opam config env); \
20
+ git clone https://github.com/samee/obliv-c.git root/obliv-c; \
21
+ cd /root/obliv-c; \
22
+ ./configure && make
23
24
+WORKDIR root/linreg-mpc
25
26
+# Copy Sources and build linreg-mpc.
27
+COPY . .
28
29
+ export OBLIVC_PATH=/root/obliv-c; \
30
+ make
0 commit comments