dumb-init Docker & Self-Hosted Deployment

GitHub

A minimal init system for Linux containers

7,276 stars Python Python 1 file ยท ~3,128 tokens #c#docker#docker-container#dumb#init#pid1#unix
1. Pull Image (DOCKERHUB) docker pull Yelp/dumb-init:latest
2. Docker Run (1-Click Launch) docker run -d --name dumb-init --restart always yelp/dumb-init:latest
3. Podman Run podman run -d --name dumb-init --restart always yelp/dumb-init:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/yelp/dumb-init:latest
5. ORAS Pull (OCI Artifact) oras pull yelp/dumb-init:latest
Dockerfile
ARG BASE_IMAGE=debian:buster
FROM $BASE_IMAGE

LABEL maintainer="Chris Kuehl <[email protected]>"

# Install the bare minimum dependencies necessary for working with Debian
# packages. Build dependencies should be added under "Build-Depends" inside
# debian/control instead.
RUN : \
    && apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        build-essential \
        devscripts \
        equivs \
        lintian \
        python3-distutils \
        python3-setuptools \
        python3-pip \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*
WORKDIR /tmp/mnt

COPY debian/control /control
RUN : \
    && apt-get update \
    && mk-build-deps --install --tool 'apt-get -y --no-install-recommends' /control \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*