Skip to content

Repository files navigation

alpine-base

Build StatusDocker PullsDocker StarsMicroBadger Layers (tag)MicroBadger Size (tag)License: MITdockeri.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

bashhttps://tiswww.case.edu/php/chet/bash/bashtop.html
curlhttps://curl.haxx.se
grephttp://www.gnu.org/software/grep
jqhttps://stedolan.github.io/jq
logrotatehttps://github.com/logrotate/logrotate
procpshttps://gitlab.com/procps-ng/procps
sedhttp://www.gnu.org/software/sed
shadow
su-exechttps://github.com/ncopa/su-exec
tinihttps://github.com/krallin/tini

Utilities

/usr/local/sbin/apk-cleanupClear apk's cache
/usr/local/sbin/apk-installAdd packages
/usr/local/sbin/apk-removeRemove packages
/usr/local/sbin/apk-upgradeUpgrade currently installed packages
/usr/local/sbin/gh-downloaderSimple utility to download files from GitHub Repository
/usr/local/sbin/templaterSimple templating system that replaces {{VAR}} by the value of $VAR
/usr/local/sbin/wait-hostWait for host and TCP port availability
/usr/local/sbin/mvlinkMove ORIGIN (file or folder) to DEST and create a symbolic ORIGIN to DEST
/usr/local/sbin/semverThe semver shell utility
/usr/local/lib/bash-logger.shBash Logger designed to incorporate PSR-3 compliance
/usr/local/lib/persist-env.shset 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.

VariableTypeDefaultDescription
DEBUG_LEVELintNOTICESet debug level for startup.
See bash-logger for logging levels
BOOT_DELAYintDelay 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
stringMake sure that proxy defined in HTTP_PROXY or http_proxy is well formated
HTTPS_PROXY

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

TZ
stringUTCSet docker OS timezone.
(Example: Europe/Paris)
USERstringSets the user name to use when running the main process PID 1

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

Volumes

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

(before /startup.2.d)
/startup.2.dAny 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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages