mich43l/debian

By mich43l

Updated about 2 months ago

Debian OS container

Image
Operating Systems
0

26

Debian on Container with Runit

LinuxDockerDebian

Overview

This repository provides a lightweight Debian-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 Debian Linux
  • runit as init system
  • Essential utilities including:
    • bash, vim, curl, git
    • python3, dpkg, gnupg, procps
    • parallel, tzdata, gzip, zsh, net-tools
    • unzip, ca-certificates, locales, locales-all
  • 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:debian .
Run the Container
 docker run -it mich43l/os:debian
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/debian