Skip to content

Instantly share code, notes, and snippets.

@t-ubukata
Last active May 21, 2025 06:01
Show Gist options
  • Save t-ubukata/a9a5d291fe60a92355d83cd6d8481774 to your computer and use it in GitHub Desktop.
Save t-ubukata/a9a5d291fe60a92355d83cd6d8481774 to your computer and use it in GitHub Desktop.
FROM nvidia/cuda:12.9.0-cudnn-devel-ubuntu24.04
ENV DEBIAN_FRONTEND noninteractive
# Installs packages.
RUN apt update -y && \
apt install -y software-properties-common && \
apt install -y \
aptitude \
git \
g++ \
make \
gdb \
less \
vim \
zsh \
ssh \
tmux \
global \
universal-ctags \
tree \
curl \
file \
clang-tools \
clang-format \
zip \
unzip \
man \
iproute2 \
jq \
shellcheck \
valgrind \
tzdata \
iputils-ping \
htop \
smartmontools \
dnsutils \
ripgrep \
fd-find \
fzf \
ansible \
jupyter \
python3 \
pipx \
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - && \
apt install -y nodejs && \
apt upgrade -y && \
# Python packages
pipx install uv && \
pipx install ruff && \
# Changes default shell.
chsh -s /usr/bin/zsh && \
# Sets up git.
git config --global user.name "Tomohiro Ubukata" && \
git config --global user.email [email protected] && \
git config --global push.default current && \
git config --global init.defaultBranch main && \
# Sets timezone.
ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
# TODO: Install dotfiles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment