Skip to content

NamesMT/images-alpine

Repository files navigation

Docker Pulls Docker Image Size (node) Docker Image Size (node-aws-dev)

Features:


Use:

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

WSL2 Alpine Quick Start:

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

Additional scripts:

Install fnm - Fast Node Manager, similar to nvm
wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/scripts/install-fnm.sh -O- | sh
Install Docker
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

Build:

export imageName=namesmt/images-alpine
export imageTag= # node | node-dev | node-aws ...
docker build -f "Dockerfile.${imageTag}" -t "${imageName}:${imageTag}" "."
docker push "${imageName}:${imageTag}"

Roadmap

  • Github Actions to automate build
    • builds will be automated with each pnpm release

Credits:

About

Some Alpine Linux preconfigured images

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages