Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.77 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.77 KB

Docker Stars Docker Pulls ImageLayers Size

Alpine Base

This image is based on Alpine and includes s6, to make it easy to start multiple process and manage them correctly.

Version

What is Alpine Linux ?

Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB 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.

Usage

Include FROM evild/alpine-base at the top of your Dockerfile. Starting from evild/alpine-base provides you with the ability to easily start any service using s6.

Start service using s6:

  • Create a folder at /etc/services.d/service-name
  • You need to create a file named run in this folder:
#!/bin/sh

exec nginx;