Skip to content
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

Update some packages' edition #5527

Merged
merged 8 commits into from
Aug 24, 2022
Merged
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
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