Alpine Linux

From XennisWiki
Jump to: navigation, search

Alpine Linux is a Linux distribution based on musl and BusyBox, primarily designed for "power users who appreciate security, simplicity and resource efficiency". It uses a hardened kernel and compiles all user space binaries as position-independent executables with stack-smashing protection. (Wikipedia)


apk add <package>
apk add --no-cache --update <package>
apk del <package>


Further information: docker-alpine

Download the Mini Root Filesystem and add it to a scratch containter

FROM scratch
ADD alpine-minirootfs-*-x86_64.tar.gz /
ENTRYPOINT ["/bin/sh", "-c"]

Or use docker import to create a Docker root

docker import - < alpine-minirootfs-3.5.2-x86_64.tar.gz
docker tag

Errors and problems


For SSL OpenSSL and the CA certificates are required

apk add ca-certificates openssl

See also

External links