Skip to content

Commit

Permalink
add ml jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
cdllp2 committed Oct 11, 2022
1 parent fb0a0de commit 2e277db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images/jupyter-notebook/Dockerfile-ubuntu-base
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN echo "alias ll='ls -alF'" >> /root/.bashrc && \
# 安装python
RUN add-apt-repository -y ppa:deadsnakes/ppa && apt update && apt install -y libsasl2-dev libpq-dev python3-pip

RUN apt install -y python3.8 python3.8-dev && rm -rf /usr/bin/python && ln -s /usr/bin/python3.8 /usr/bin/python \
&& rm -rf /usr/bin/python3 && ln -s /usr/bin/python3.8 /usr/bin/python3
RUN apt install -y python3.8 python3.8-dev && rm -rf /usr/bin/python3 && ln -s /usr/bin/python3.8 /usr/bin/python3 \
&& rm -rf /usr/bin/python && ln -s /usr/bin/python3.8 /usr/bin/python

RUN bash -c "wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py --ignore-installed --force-reinstall" \
&& rm -rf /usr/bin/pip && ln -s /usr/bin/pip3 /usr/bin/pip
Expand Down

0 comments on commit 2e277db

Please sign in to comment.