Skip to content

Commit 493b7b1

Browse files
committed
Updated the Dockerfile
1 parent 675cb30 commit 493b7b1

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docker/cuda/Dockerfile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ RUN apt-get update && apt-get install -y \
2525
nano \
2626
htop \
2727
tree \
28-
# Minimal Python for basic scripting (not data science)
29-
python3 \
30-
python3-pip \
31-
python3-dev \
3228
# Additional utilities
3329
pkg-config \
3430
software-properties-common \
@@ -46,10 +42,6 @@ RUN apt-get update && \
4642
(apt-get install -y cuda-tools-13-0 || apt-get install -y cuda-tools || true) && \
4743
rm -rf /var/lib/apt/lists/*
4844

49-
# Install minimal Python packages for basic development (no heavy data science libs)
50-
RUN pip3 install --no-cache-dir \
51-
numpy \
52-
matplotlib
5345

5446
# Set up CUDA environment variables
5547
ENV PATH=/usr/local/cuda/bin:${PATH}
@@ -152,9 +144,8 @@ RUN chmod +x /workspace/test-gpu.sh
152144

153145
# Install CUDA samples for learning and reference
154146
RUN cd /workspace && \
155-
git clone https://github.com/NVIDIA/cuda-samples.git && \
156-
cd cuda-samples && \
157-
git checkout v13.0
147+
git clone --depth 1 --branch v13.0 https://github.com/NVIDIA/cuda-samples.git && \
148+
cd cuda-samples
158149

159150
# Default command
160151
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)