diff --git a/Docker/Dockerfile b/Docker/Dockerfile new file mode 100644 index 0000000..8ee7c21 --- /dev/null +++ b/Docker/Dockerfile @@ -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 \ No newline at end of file diff --git a/Docker/requirements.txt b/Docker/requirements.txt new file mode 100644 index 0000000..6217dab --- /dev/null +++ b/Docker/requirements.txt @@ -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