forked from raphaelschwinger/cuda-python-devcontainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·34 lines (26 loc) · 781 Bytes
/
Dockerfile
File metadata and controls
executable file
·34 lines (26 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
ARG VARIANT="ubuntu22.04"
ARG CUDA_VERSION="12.4.1"
FROM nvidia/cuda:${CUDA_VERSION}-devel-${VARIANT}
# # set non interactive mode
ARG DEBIAN_FRONTEND=noninteractive
# # install dependencies to build python packages
RUN apt-get update && apt-get install -y --no-install-recommends \
libcairo2-dev \
pkg-config \
python3-dev \
git \
curl \
bash-completion \
ssh \
vim \
tmux \
htop
COPY config/.tmux.conf /root/.tmux.conf
# install poetry
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:$PATH"
# add your own dependencies here!
# RUN apt-get update && apt-get install -y --no-install-recommends \
# [your-own-dependencies] \
# set DEBIAN_FRONTEND back to dialog
ARG DEBIAN_FRONTEND=dialog