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