Skip to content

Commit

Permalink
Change the Dockerfile for better. (#5559)
Browse files Browse the repository at this point in the history
* add assembly

* Enable FL Sever in SGX

* Add start-fl-server.py to Docker Image

* rm ppml-assebly.xml

* Add start-python-fl-server-sgx.sh to Docker Image

* Put start-fl-server.py into assembly

* Change the Dockerfile for better

Co-authored-by: Jiaming <[email protected]>
  • Loading branch information
Hanyu-Jin and Litchilitchy authored Aug 27, 2022
1 parent 002df25 commit f67b15a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ppml/trusted-big-data-ml/python/docker-graphene/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,6 @@ RUN apt install software-properties-common -y && \
apt-get install -y python3-minimal build-essential python3.7-distutils python3-apt python3.7 python3-setuptools python3-dev python3-pip libpython3.7 && \
rm /usr/bin/python3 && \
ln -s /usr/bin/python3.7 /usr/bin/python3 && \
rm -rf /usr/lib/python3/dist-packages/protobuf-3.6.1.egg-info && \
rm -rf /usr/lib/python3/dist-packages/google/protobuf && \
ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5 && \
pip install pyyaml && \
pip3 install --upgrade pip && \
pip install setuptools==58.4.0 && \
pip install --no-cache-dir numpy scipy && \
Expand All @@ -266,7 +262,11 @@ RUN apt install software-properties-common -y && \
pip install --no-cache-dir psutil && \
pip install --no-cache-dir dill==0.3.4 && \
python3 -m pip install toml==0.10.2 click jinja2 && \
python3 -m ipykernel.kernelspec
python3 -m ipykernel.kernelspec && \
rm -rf /usr/lib/python3/dist-packages/protobuf-3.6.1.egg-info && \
rm -rf /usr/lib/python3/dist-packages/google/protobuf && \
ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5 && \
pip install --no-cache-dir pyyaml

ADD ./bash.manifest.template /ppml/trusted-big-data-ml/bash.manifest.template
ADD ./Makefile /ppml/trusted-big-data-ml/Makefile
Expand Down

0 comments on commit f67b15a

Please sign in to comment.