camenduru commited on
Commit
fc85981
1 Parent(s): c31b455

optimizing docker thanks to chris-rannou ❤

Browse files
Dockerfile CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Private.A10G CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Private.Nightly.A10G CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Private.Nightly.CPU CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Private.Nightly.T4 CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Private.T4 CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Public.A10G CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Public.Nightly.A10G CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Public.Nightly.T4 CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user
Dockerfile.Public.T4 CHANGED
@@ -6,8 +6,6 @@
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
9
- WORKDIR /content
10
-
11
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
12
 
13
  RUN adduser --disabled-password --gecos '' user
 
6
  FROM nvidia/cuda:11.7.1-base-ubuntu22.04
7
  ENV DEBIAN_FRONTEND noninteractive
8
 
 
 
9
  RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN adduser --disabled-password --gecos '' user