mich43l/alpine

By mich43l

Updated about 2 months ago

Alpine OS container

Image
Operating Systems
0

17

Alpine on Container with Runit

LinuxDockerAlpine 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

Docker Pull Command

docker pull mich43l/alpine