https://github.com/namesmt/images-alpine
Some Alpine Linux preconfigured images
https://github.com/namesmt/images-alpine
Last synced: over 1 year ago
JSON representation
Some Alpine Linux preconfigured images
- Host: GitHub
- URL: https://github.com/namesmt/images-alpine
- Owner: NamesMT
- Created: 2023-09-17T07:08:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T20:13:02.000Z (over 1 year ago)
- Last Synced: 2025-03-17T08:21:26.989Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 2.86 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [namesmt/images-alpine](https://github.com/NamesMT/images-alpine) - [Docker link](https://hub.docker.com/r/namesmt/images-alpine)



### Features:
- Alpine 3.21
- Latest Node LTS & pnpm (**node**)
- [@antfu/ni](https://github.com/antfu/ni)
- Self-built latest aws-cli v2 (**aws**)
- git + Oh My Zsh! (**dev**)
- Theme: [spaceship](https://spaceship-prompt.sh/)
- 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
- These common packages are also installed for all suffix/version:
- `gcompat` `libstdc++` `zip` `unzip` `jq` `sudo` `curl`
---
### Use:
Available on Docker registry: (auto-built on pnpm releases)
```sh
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
```
#### WSL2 Alpine Quick Start:
Follow [Yuka](https://github.com/yuk7/AlpineWSL)'s instruction to install Alpine WSL2
Setting up `node-dev` *([`fnm`](https://github.com/Schniz/fnm) included to manage node version)*:
```sh
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/node-dev.sh -O- | bash
```
#### Additional scripts:
##### Install [fnm](https://github.com/Schniz/fnm) - Fast Node Manager, similar to `nvm`
```sh
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/scripts/install-fnm.sh -O- | sh
```
##### Install Docker
```sh
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/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.
---
### Build:
```sh
export imageName=namesmt/images-alpine
export imageTag= # node | node-dev | node-aws ...
docker build -f "${imageTag}.Dockerfile" -t "${imageName}:${imageTag}" "."
docker push "${imageName}:${imageTag}"
```
## Roadmap
- [x] Github Actions to automate build
- builds will be automated with each pnpm release
## Credits:
- [theidledeveloper/aws-cli-alpine](https://github.com/theidledeveloper/aws-cli-alpine): most of starting points