/docker-base-alpine

A custom Alpine Linux base image with S6 overlay

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

docker-base-alpine

Latest release Travis build status Docker build status Docker Hub downloads

A custom base image build with Alpine Linux and S6 overlay. Inspired by LinuxServer.io's docker-baseimage-alpine.

Versions

Image Info
roeldev/base-alpine:3.9-latest mb-3.9-img
roeldev/base-alpine:3.10-latest mb-3.10-img

Tags are organized as followed:

  • latest points to the highest available release version (which is not always the latest)
  • v1 points to the latest minor/patch release within this major
  • v1.1 points to the latest patch within this minor release
  • v1.1.2 points to a specific release
  • experimental most up to date (non-stable) build from the develop branch, it is not recommended to use this version in production

Have a look at the above MicroBadger page of a specific release to see which tags point to the same image build.

Volumes

Path Description
/config/ Contains all (system) config related files that might be customized to your needs

Environment variables

Variable Default Description
PUID Highly recommended, see below for explanation.
PGID Highly recommended, see below for explanation.
DISPLAY_MOTD true Set to true to display system info at container startup.
VERBOSE_INIT false Set to true to verbose execute init commands. Helpful to see what's happening during container startup.

User and group identifiers

When using volumes (-v flags) permissions issues can arise between the host OS and the container. This issue is avoided by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will be resolved.

To find yours use id user as below. This will result in PUID=1000 and PGID=100.

  $ id user
    uid=1000(user) gid=100(group) groups=100(group)

Links

Inspired by

License

GPL-3.0+ © 2019 Roel Schut