From 913337907434551ad8216470992f6148cb2d94d5 Mon Sep 17 00:00:00 2001 From: Bhatu Date: Fri, 3 Sep 2021 14:25:55 +0530 Subject: [PATCH] Add docker file --- Dockerfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..3f8a6695 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +# Authors: Pratik Bhatu. + +# Copyright: +# Copyright (c) 2021 Microsoft Research +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +FROM ubuntu:18.04 +RUN apt-get update +RUN apt-get -y install sudo software-properties-common git wget vim apt-utils +RUN mkdir -p /ezpc_dir +WORKDIR /ezpc_dir +RUN git clone https://github.com/mpc-msri/EzPC +RUN cd EzPC && ./setup_env_and_build.sh quick