- 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:
zipunzipjqsudolesszshcurlwget- alpine-only:
gcompatlibstdc++
(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- | bashInstall fnm - Fast Node Manager, similar to nvm
wget https://raw.githubusercontent.com/NamesMT/linux-stuff/main/alpine/scripts/install-fnm.sh -O- | shwget https://raw.githubusercontent.com/NamesMT/linux-stuff/main/alpine/scripts/install-docker.sh -O- | shYou 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- | shRun 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- | bashThis 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 | bashNote: please restart the WSL distro if you use WSL after running the init script, this is necessary to apply some WSL-specific setups
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 | bashexport 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