Skip to content

Commit f79c649

Browse files
committed
Brev: Remove unused Docker-in-Docker to reduce image size.
1 parent 128811b commit f79c649

File tree

3 files changed

+0
-56
lines changed

3 files changed

+0
-56
lines changed

tutorials/accelerated-python/brev/dockerfile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,6 @@ RUN curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get\&search=0xBA693236
5555
&& rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED \
5656
&& rm -rf /var/lib/apt/lists/*
5757

58-
# Install Docker
59-
RUN mkdir -p /etc/apt/keyrings \
60-
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
61-
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \
62-
&& apt-get update -y \
63-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
64-
docker-ce \
65-
docker-ce-cli \
66-
containerd.io \
67-
docker-buildx-plugin \
68-
docker-compose-plugin \
69-
&& apt-get clean -y \
70-
&& rm -rf /var/lib/apt/lists/*
71-
7258
# Install PyTorch with CUDA 13.0 support.
7359
RUN pip install --no-cache-dir --root-user-action=ignore \
7460
--index-url https://download.pytorch.org/whl/cu130 \

tutorials/cuda-cpp/brev/dockerfile

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,6 @@ RUN python -m jupyter labextension disable "@jupyterlab/apputils-extension:annou
2929
RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
3030
&& sed -i -e 's/^Defaults\s*env_reset/Defaults !env_reset/' -e 's/^Defaults\s*secure_path=/#&/' /etc/sudoers
3131

32-
# Install Docker
33-
RUN apt-get update -y \
34-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
35-
apt-transport-https \
36-
ca-certificates \
37-
curl \
38-
gnupg \
39-
lsb-release \
40-
&& mkdir -p /etc/apt/keyrings \
41-
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
42-
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \
43-
&& apt-get update -y \
44-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
45-
docker-ce \
46-
docker-ce-cli \
47-
containerd.io \
48-
docker-buildx-plugin \
49-
docker-compose-plugin \
50-
&& apt-get clean -y \
51-
&& rm -rf /var/lib/apt/lists/*
52-
5332
COPY --chmod=0777 . /accelerated-computing-hub
5433

5534
WORKDIR /accelerated-computing-hub/tutorials/${ACH_TUTORIAL}/notebooks

tutorials/nvmath-python/brev/dockerfile

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,6 @@ RUN python -m jupyter labextension disable "@jupyterlab/apputils-extension:annou
2626
RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
2727
&& sed -i -e 's/^Defaults\s*env_reset/Defaults !env_reset/' -e 's/^Defaults\s*secure_path=/#&/' /etc/sudoers
2828

29-
# Install Docker
30-
RUN apt-get update -y \
31-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
32-
apt-transport-https \
33-
ca-certificates \
34-
curl \
35-
gnupg \
36-
lsb-release \
37-
&& mkdir -p /etc/apt/keyrings \
38-
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
39-
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \
40-
&& apt-get update -y \
41-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
42-
docker-ce \
43-
docker-ce-cli \
44-
containerd.io \
45-
docker-buildx-plugin \
46-
docker-compose-plugin \
47-
&& apt-get clean -y \
48-
&& rm -rf /var/lib/apt/lists/*
49-
5029
COPY --chmod=0777 . /accelerated-computing-hub
5130

5231
WORKDIR /accelerated-computing-hub/tutorials/${ACH_TUTORIAL}/notebooks

0 commit comments

Comments
 (0)