Sign inSign up

mich43l/alpine

By mich43l

•Updated over 1 year ago

Alpine OS container

Image
Operating systems
0

990

mich43l/alpine repository overview

⁠Alpine on Container with Runit

Linux Docker Alpine Linux

⁠Overview

This repository provides a lightweight Alpine-based container image with additional utilities and tools pre-installed. It uses runit as the init system and includes a number of useful packages.

⁠Features

  • Based on Alpine Linux
  • runit as init system
  • Essential utilities including:
    • bash, vim, curl, git
    • python3, dpkg, gnupg, procps
    • parallel, tzdata, gcompat, gzip, zsh
    • unzip, ca-certificates
  • gosu installed for better process control
  • oh-my-zsh with agnoster theme enabled
  • Non-root user mich43l created for better security
  • Custom entrypoint script

⁠Usage

⁠Build the Image
 docker build --build-arg VERSION=latest -t mich43l/os:alpine .
⁠Run the Container
 docker run -it mich43l/os:alpine
⁠Customizing the Image

You can override the default user by providing build arguments:

 docker build --build-arg USERNAME=myuser --build-arg USER_UID=2000 --build-arg USER_GID=2000 -t myimage .
⁠EntryPoint Script

The container uses a custom docker-entrypoint.sh script, which ensures proper setup before launching the shell.


⁠Repository

GitHub Repository⁠

⁠Author

Maintained by mich43l

Tag summary

Content type

Image

Digest

sha256:35c89bcf7…

Size

58.8 MB

Last updated

over 1 year ago

docker pull mich43l/alpine