diff --git a/ppml/trusted-big-data-ml/python/docker-graphene/Dockerfile b/ppml/trusted-big-data-ml/python/docker-graphene/Dockerfile index b0cee43a69b..8c4653e9451 100644 --- a/ppml/trusted-big-data-ml/python/docker-graphene/Dockerfile +++ b/ppml/trusted-big-data-ml/python/docker-graphene/Dockerfile @@ -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 @@ -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 && \