Diff of /Dockerfile [000000] .. [f804b3]

Switch to unified view

a b/Dockerfile
1
FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04
2
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
  ca-certificates \
5
  curl \
6
  netbase \
7
  wget \
8
  git \
9
  openssh-client \
10
  ssh \
11
  vim \
12
  && rm -rf /var/lib/apt/lists/*
13
14
# http://bugs.python.org/issue19846
15
16
ENV LANG C.UTF-8
17
18
# https://github.com/docker-library/python/issues/147
19
20
ENV PYTHONIOENCODING UTF-8RUN apt-get update && apt-get install -y --no-install-recommends \
21
  ca-certificates \
22
23
 RUN apt-get update && apt-get install -y --no-install-recommends \
24
  python3.6 \
25
  python3.6-dev \
26
  python3-pip \
27
  python3-setuptools \
28
  && rm -rf /var/lib/apt/lists/*
29
30
RUN pip3 install --upgrade pip
31
32
RUN pip3 install https://download.pytorch.org/whl/cu100/torch-1.1.0-cp36-cp36m-linux_x86_64.whl \
33
  && pip3 install https://download.pytorch.org/whl/cu100/torchvision-0.3.0-cp36-cp36m-linux_x86_64.whl
34
35
WORKDIR /workspace
36
37
COPY requirements.txt ./
38
39
RUN pip3 install --no-cache-dir -r requirements.txt