- Alpine 3.20
- Latest Node LTS & pnpm (node)
- Self-built latest aws-cli v2 (aws)
- git + Oh My Zsh! (dev)
- 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 also installed for all suffix/version:
gcompat
libstdc++
zip
unzip
jq
sudo
curl
Available on Docker registry: (auto-built on pnpm releases)
docker run -it --rm namesmt/images-alpine:node-dev
# For CIs, you should pin the version:
docker run -it --rm namesmt/images-alpine:node-dev_pnpm8.10.5
Follow Yuka's instruction to install Alpine WSL2
Setting up node-dev
(fnm
included to manage node version):
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/node-dev.sh -O- | bash
Install fnm - Fast Node Manager, similar to nvm
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/scripts/install-fnm.sh -O- | sh
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/scripts/install-docker.sh -O- | sh
You can call ~/alpine.docker.service.sh
to start the docker service,
And call ~/alpine.docker.service.sh stop
to stop the docker service.
Install bun
Note: the script will remove current gcompat
, glibc
, glibc-bin
if they exists.
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/scripts/install-bun.sh -O- | sh
export imageName=namesmt/images-alpine
export imageTag= # node | node-dev | node-aws ...
docker build -f "Dockerfile.${imageTag}" -t "${imageName}:${imageTag}" "."
docker push "${imageName}:${imageTag}"
- Github Actions to automate build
- builds will be automated with each pnpm release
- theidledeveloper/aws-cli-alpine: most of starting points