Skip to content

Commit

Permalink
Update some packages' edition (#5527)
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 some packages' edition

* Fix the problem of fl/start-fl-server.py

Co-authored-by: Jiaming <[email protected]>
  • Loading branch information
Hanyu-Jin and Litchilitchy authored Aug 24, 2022
1 parent 5094b05 commit 6238421
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions ppml/trusted-big-data-ml/python/docker-graphene/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ RUN apt-get update --fix-missing && \
RUN wget https://raw.githubusercontent.com/intel-analytics/analytics-zoo/bigdl-2.0/docker/hyperzoo/download-bigdl.sh && \
chmod a+x ./download-bigdl.sh
RUN ./download-bigdl.sh && \
rm bigdl*.zip && \
mkdir -p /ppml/trusted-big-data-ml/fl && \
cp ${BIGDL_HOME}/python/start-fl-server.py /ppml/trusted-big-data-ml/fl
rm bigdl*.zip

# stage.4 ppml
FROM ubuntu:20.04
Expand Down Expand Up @@ -236,13 +234,20 @@ RUN apt-get update --fix-missing && \
apt-get install -y apt-utils vim curl nano wget unzip git tree zip && \
apt-get install -y libsm6 make build-essential && \
apt-get install -y autoconf gawk bison libcurl4-openssl-dev python3-protobuf libprotobuf-c-dev protobuf-c-compiler && \
apt-get install -y netcat net-tools
apt-get install -y netcat net-tools && \
mkdir -p /ppml/trusted-big-data-ml/fl

COPY --from=bigdl /bigdl-${BIGDL_VERSION}/python/start-fl-server.py /ppml/trusted-big-data-ml/fl

#python
RUN apt install software-properties-common -y && \
add-apt-repository ppa:deadsnakes/ppa -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 && \
pip install six --target=/usr/lib/python3.7/dist-packages && \
rm -rf /usr/lib/python3/dist-packages/protobuf-3.6.1.egg-info && \
ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5 && \
pip install pyyaml && \
ln -s /usr/bin/python3.7 /usr/bin/python3 && \
pip3 install --upgrade pip && \
pip install setuptools==58.4.0 && \
Expand Down

0 comments on commit 6238421

Please sign in to comment.