Sign inSign up

namesmt/linux-stuff

By namesmt

•Updated about 9 hours ago

Image
1

10K+

namesmt/linux-stuff repository overview

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

⁠Features:

⁠Use:

(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)
⁠Available Scripts:
⁠Alpine:
⁠alpine-node-dev dev environment setup:

(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
⁠Install Docker
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
⁠Ubuntu:
⁠ubuntu-node-dev dev environment setup:

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
⁠Arch:
⁠arch-init Arch initialization script:

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
⁠arch-node-dev dev environment setup:

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

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

⁠Roadmap

  • Github Actions to automate build

⁠Credits:

Tag summary

Content type

Image

Digest

sha256:5cb904596…

Size

181.9 MB

Last updated

about 9 hours ago

docker pull namesmt/linux-stuff:alpine-node-aws-dev_pnpm12.9.0