dev-containers/web-stack
2024-11-18 13:44:57 +01:00
..
docker-build update 2024-09-30 18:42:40 +02:00
Dockerfile config: add jq and man pkgs 2024-11-18 13:44:57 +01:00
install-tools.sh nvim 2024-10-01 07:34:35 +02:00
README.md update docs 2024-11-10 04:28:10 +01:00

Dev containers

Commands

Build

docker build \
    --build-arg UID=$(id -u) \
    --build-arg GID=$(id -g) \
    -t web-stack .

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>.