Skip to content

Minimal Alpine image used as a base image

License

Notifications You must be signed in to change notification settings

docker-suite/alpine-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpine-base

Build Status Docker Pulls Docker Stars MicroBadger Layers (tag) MicroBadger Size (tag) License: MIT dockeri.co

Based on Alpine, this image included mandatory packages and tools for docker-suite (dsuite) images.

What's in this image

This image is built on top of Alpine and is aimed to be run as root user. Cron is enable by default.

Packages included

bash https://tiswww.case.edu/php/chet/bash/bashtop.html
curl https://curl.haxx.se
grep http://www.gnu.org/software/grep
jq https://stedolan.github.io/jq
logrotate https://github.com/logrotate/logrotate
procps https://gitlab.com/procps-ng/procps
sed http://www.gnu.org/software/sed
shadow
su-exec https://github.com/ncopa/su-exec
tini https://github.com/krallin/tini

Utilities

/usr/local/sbin/apk-cleanup Clear apk's cache
/usr/local/sbin/apk-install Add packages
/usr/local/sbin/apk-remove Remove packages
/usr/local/sbin/apk-upgrade Upgrade currently installed packages
/usr/local/sbin/gh-downloader Simple utility to download files from GitHub Repository
/usr/local/sbin/templater Simple templating system that replaces {{VAR}} by the value of $VAR
/usr/local/sbin/wait-host Wait for host and TCP port availability
/usr/local/sbin/mvlink Move ORIGIN (file or folder) to DEST and create a symbolic ORIGIN to DEST
/usr/local/sbin/semver The semver shell utility
/usr/local/lib/bash-logger.sh Bash Logger designed to incorporate PSR-3 compliance
/usr/local/lib/persist-env.sh set or unset system wide environment variable

Environment variables

Have a look at the following table to see all supported environment variables for each Docker image.

Variable Type Default Description
DEBUG_LEVEL int NOTICE Set debug level for startup.
See bash-logger for logging levels
BOOT_DELAY int Delay in second before stating up the container entrypoint
To wait for a database or a web site to be online, prefer using wait-host
HTTP_PROXY

http_proxy
string Make sure that proxy defined in HTTP_PROXY or http_proxy is well formated
HTTPS_PROXY

https_proxy
string Make sure that proxy defined in HTTPS_PROXY or https_proxy is well formated
TIMEZONE

TZ
string UTC Set docker OS timezone.
(Example: Europe/Paris)
USER string Sets the user name to use when running the main process PID 1

(Do not use the USER instruction in your Dockerfile).

Volumes

/startup.d Any scripts ending by *.sh found in this directory will be sourced at the very beginning.
/startup.1.d Any executable scripts ending by *.sh found in this directory will be executed during startup.

(before /startup.2.d)
/startup.2.d Any executable scripts ending by *.sh found in this directory will be executed during startup.

(after /startup.1.d)

About

Minimal Alpine image used as a base image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published