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

Change the Dockerfile for better. #5559

Merged
merged 7 commits into from
Aug 27, 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
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