dev-containers/web-stack
2024-09-14 19:18:14 +02:00
..
Dockerfile update 2024-09-14 19:18:14 +02:00
install-tools.sh update 2024-09-14 19:18:14 +02:00
README.md update 2024-09-14 19:18:14 +02:00

Dev containers

Commands

Build

podman build -t my-dev-container .

Run. Mount /workspace if you want to preserve changes. Mount /workspace if you want to preserve changes.

podman run -it --rm \
  --userns=keep-id \
  --network host \
  -v $HOME/.ssh:/home/dev/.ssh:ro,Z \
  -v $PWD:/workspace:Z \
  my-dev-container

Installed tools

  • Common ones: curl, git, vim, tmux, zsh. Included dotfiles.
  • NVM and nodejs (lts, v18, v20, v22).
  • All package managers preinstalled (npm, pnpm, yarn). Enable with corepack enable <pm>.