Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.5 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.5 KB

Base Docker Image based on Alpine

This is an alpine docker image used as base for other docker images in stakater.

Supported tags and respective Dockerfile links

Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is very small in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. Read more about Alpine Linux here and you can see how their mantra fits in right at home with Docker images.

How to run:

docker run -it --rm stakater/base-alpine /bin/bash

Running your services

To add any service daemons, you can create runit entries. Just write a shell script and add it to /etc/service like /etc/service/myDaemon/run. Where myDaemon is the name of your daemon and the script should be placed by the name run. Runit will be responsible for keeping your daemon running.

Be sure not to override the ENTRYPOINT for your contianer as the default ENTRYPOINT will keep runit / runsvinit up and running.