mrfakename commited on
Commit
00659fe
1 Parent(s): c887d90

Revert 'Update Dockerfile"

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -12
Dockerfile CHANGED
@@ -3,20 +3,9 @@ FROM nvidia/cuda:12.3.1-devel-ubuntu20.04
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
  RUN apt-get update -y && \
6
- apt install -y software-properties-common && \
7
- add-apt-repository -y ppa:deadsnakes/ppa && \
8
- apt-get update -y && \
9
  apt-get upgrade -y && \
10
  apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
11
- apt-get remove -y python3 && \
12
- alias pip='python3.11 -m pip' && \
13
- alias python='python3.11' && \
14
- apt-get install -y python3.11 python3-pip python3.11-distutils
15
-
16
- RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 999 \
17
- && update-alternatives --config python3 && ln -s /usr/bin/python3 /usr/bin/python
18
- RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
19
- RUN pip install packaging
20
  RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
21
  ENV PATH="/root/.cargo/bin:${PATH}"
22
 
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
  RUN apt-get update -y && \
 
 
 
6
  apt-get upgrade -y && \
7
  apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
8
+ pip install packaging
 
 
 
 
 
 
 
 
9
  RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
10
  ENV PATH="/root/.cargo/bin:${PATH}"
11