Skip to content

stakater-docker/base-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.