Skip to content

Add Dockerfile and requirements.txt #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM rdeng2614/cerebro:initial_image
WORKDIR /root
RUN git clone https://github.com/mc2-project/cerebro.git
WORKDIR /root/cerebro
RUN git submodule update --init --recursive
WORKDIR /root/cerebro/crypto_backend/emp-toolkit/emp-tool
RUN git pull origin master && cmake . && make && sudo make install
WORKDIR /root/cerebro/crypto_backend/emp-toolkit/emp-ot
RUN cmake . && make && sudo make install
WORKDIR /root/cerebro/crypto_backend/emp-toolkit/emp-agmpc
RUN git pull origin master
RUN cmake . && make
WORKDIR /root
RUN apt-get update && apt-get install -y \
python-gmpy2 \
python-pip \
emacs
COPY requirements.txt /root
RUN pip install -r requirements.txt
20 changes: 20 additions & 0 deletions Docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
asn1crypto==0.24.0
astor==0.8.1
astunparse==1.6.3
cryptography==2.1.4
decorator==4.4.2
enum34==1.1.6
gmpy2==2.0.8
idna==2.6
ipaddress==1.0.17
keyring==10.6.0
keyrings.alt==3.0
networkx==2.2
numpy==1.16.6
ordered-set==3.1.1
pathlib==1.0.1
pycrypto==2.6.1
pygobject==3.26.1
pyxdg==0.25
SecretStorage==2.3.1
six==1.11.0