- Latest Node LTS & pnpm (node tag)
- Self-built latest aws-cli v2 (aws tag)
- git + Oh My Zsh! (dev tag)
- Theme: spaceship
- SPACESHIP_USER_SHOW=false
- SPACESHIP_DIR_TRUNC_REPO=false
- Plugins:
- command-not-found
- git
- history-substring-search
- z
- https://github.com/zsh-users/zsh-autosuggestions
- https://github.com/zsh-users/zsh-completions
- https://github.com/zsh-users/zsh-syntax-highlighting
- Theme: spaceship
- These common packages are installed for all:
zip
unzip
jq
sudo
less
zsh
curl
wget
- alpine-only:
gcompat
libstdc++
(new versions are auto-built on new pnpm releases for now, their release cycle is good anchor point for new images, as well as I like to micro-optimize my CI build time by using the exact pnpm version :D)
Available on Docker registry:
docker run -it --rm namesmt/linux-stuff:alpine-node-dev
# For CIs, you should pin the version:
docker run -it --rm namesmt/linux-stuff:alpine-node-dev_pnpm10.16.0
# (For older versions, check `namesmt/images-alpine` image)
(Tips: Follow Yuka's instruction to install Alpine WSL2)
Run alpine-node-dev
script: (fnm
included to manage node version)
wget https://raw.githubusercontent.com/NamesMT/linux-stuff/main/alpine/alpine-node-dev.sh -O- | bash
Install fnm - Fast Node Manager, similar to nvm
wget https://raw.githubusercontent.com/NamesMT/linux-stuff/main/alpine/scripts/install-fnm.sh -O- | sh
wget https://raw.githubusercontent.com/NamesMT/linux-stuff/main/alpine/scripts/install-docker.sh -O- | sh
You can call sh ~/alpine.docker.service.sh
to start the docker service,
And call sh ~/alpine.docker.service.sh stop
to stop the docker service.
Install sgerrand/alpine-pkg-glibc
This package will help you in cases where an app requires glibc and gcompat
doesn't work, like Miniconda
, glibc bun
.
wget https://raw.githubusercontent.com/NamesMT/linux-stuff/main/scripts/install-glibc.sh -O- | sh
Run ubuntu-node-dev
script: (fnm
included to manage node version)
wget https://raw.githubusercontent.com/NamesMT/linux-stuff/main/ubuntu/ubuntu-node-dev.sh -O- | bash
This script will help you do some initial setup for an Arch Linux installation, like: updating databases (key, packages), updating all packages, create a new user.
export NEW_USER=yourname && curl -fsSL https://raw.githubusercontent.com/NamesMT/linux-stuff/main/arch/arch-init.sh | bash
Run arch-node-dev
script: (fnm
included to manage node version)
curl -fsSL https://raw.githubusercontent.com/NamesMT/linux-stuff/main/arch/arch-node-dev.sh | bash
export imageName=namesmt/linux-stuff
export imageTag= # node | node-dev | node-aws ...
docker build -f "${imageTag}.Dockerfile" -t "${imageName}:${imageTag}" "."
docker push "${imageName}:${imageTag}"
- Github Actions to automate build
- theidledeveloper/aws-cli-alpine: most of starting points