File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # Local Usage:
2+ # ```
3+ # docker build -t ghcr.io/bouncmpe/cuda-python3 containers/cuda-python3/
4+ # docker run -it --rm --gpus=all ghcr.io/bouncmpe/cuda-python3
5+ # ```
6+
7+ # Base image
8+ FROM nvidia/cuda:12.2.2-runtime-ubuntu22.04
9+
10+ LABEL maintainer="Kutay Eroglu"
11+
12+ ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
13+
14+ RUN apt-get update && \
15+ export DEBIAN_FRONTEND=noninteractive && \
16+ apt-get -y install --no-install-recommends \
17+ git \
18+ wget \
19+ cmake \
20+ ninja-build \
21+ build-essential \
22+ python3 \
23+ python3-dev \
24+ python3-pip \
25+ python-is-python3 && \
26+ # Upgrade pip
27+ python3 -m pip install --no-cache-dir --upgrade pip && \
28+ # Clean up APT caches to reduce image size
29+ apt-get autoremove -y && \
30+ apt-get clean -y && \
31+ rm -rf /var/lib/apt/lists/*
32+
33+
34+ COPY requirements.txt .
35+
36+ RUN python3 -m pip install --no-cache-dir -r requirements.txt
Original file line number Diff line number Diff line change 1+ tensorflow == 2.15.0
2+ numpy >= 1.23
3+ pandas >= 1.4
4+ scipy >= 1.7
5+ pillow >= 9.0
6+ matplotlib >= 3.5
7+ seaborn >= 0.12
8+ imageio >= 2.30
9+ jupyter >= 1.0
10+ neptune == 1.10.4
11+ # tensorflow-addons is not guaranteed to support TF 2.15; include only if needed
12+
You can’t perform that action at this time.
0 commit comments