htr3n / alpine-tini

Alpine Docker image plus tini

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alpine Docker with tini

Alpine Linux is a lightweight distribution that uses BusyBox and musl as the base system. As such, the base Alpine Docker image is very small, roughly 5.6MB, and only contains the bare minimum to get up and running.

This image is based on the base Alpine docker image plus tini for better signal handling.

Build a new image

Build with the default Alpine version 3.

docker build --rm --tag=alpine-tini .

Build with a specific Alpine version:

docker build --build-arg="ALPINE_VERSION=3.18" --rm --tag=alpine-tini . 

Start a new container from the image

docker run -it --rm alpine-tini /bin/sh

Derive a new Docker image

FROM alpine-tini

RUN ...

CMD [...]

About

Alpine Docker image plus tini

License:MIT License


Languages

Language:Dockerfile 100.0%