reidddd commited on
Commit
3dfc91d
·
1 Parent(s): eb0aef1

update import detectron2

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -26,7 +26,8 @@ FROM nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04 as cuda
26
  ENV DEBIAN_FRONTEND=noninteractive
27
 
28
  # Install system dependencies
29
- RUN apt-get update && apt-get install -y \
 
30
  python3-opencv \
31
  python3-pip \
32
  ca-certificates \
@@ -36,6 +37,7 @@ RUN apt-get update && apt-get install -y \
36
  sudo \
37
  ninja-build
38
 
 
39
  # Link Python and Pip commands
40
  RUN ln -sv /usr/bin/python3 /usr/bin/python && ln -sv /usr/bin/pip3 /usr/bin/pip
41
 
 
26
  ENV DEBIAN_FRONTEND=noninteractive
27
 
28
  # Install system dependencies
29
+ RUN apt-get update && apt-get clean
30
+ RUN apt-get update && apt-get install -y --fix-missing \
31
  python3-opencv \
32
  python3-pip \
33
  ca-certificates \
 
37
  sudo \
38
  ninja-build
39
 
40
+
41
  # Link Python and Pip commands
42
  RUN ln -sv /usr/bin/python3 /usr/bin/python && ln -sv /usr/bin/pip3 /usr/bin/pip
43