Thanks to visit codestin.com
Credit goes to github.com

Skip to content

htr3n/alpine-dumb-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Alpine Docker with dumb-init

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 dockr image plus Yelp's dumb-init for better signal handling.

Build a new image

Build with the default Alpine version 3.

docker build --rm --tag=alpine-dumb-init .

Build with a specific Alpine version:

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

Start a new container from the newly created image

docker run -it --rm alpine-dumb-init /bin/sh

Derive a new Docker image from the current one

FROM alpine-dumb-init

RUN ...

CMD [...]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published