yinwentao commited on
Commit
642a337
·
1 Parent(s): 1e88c5f

updateDKfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -12
Dockerfile CHANGED
@@ -1,17 +1,8 @@
1
  FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
2
 
3
- RUN : \
4
- && apt-get update \
5
- && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
6
- software-properties-common \
7
- && add-apt-repository -y ppa:deadsnakes \
8
- && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
9
- python3.8-venv \
10
- && apt-get clean \
11
- && rm -rf /var/lib/apt/lists/* \
12
- && :
13
-
14
- RUN python3.8 -m venv /venv
15
  ENV PATH=/venv/bin:$PATH
16
 
17
  WORKDIR /code
 
1
  FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
2
 
3
+ RUN add-apt-repository ppa:deadsnakes/ppa && install python3.8 -y
4
+ RUN ln -s /usr/bin/pip3 /usr/bin/pip && \
5
+ ln -s /usr/bin/python3.8 /usr/bin/python
 
 
 
 
 
 
 
 
 
6
  ENV PATH=/venv/bin:$PATH
7
 
8
  WORKDIR /code