= Make Alpine Linux RootFS :script-name: alpine-make-rootfs :script-sha1: N/A :gh-name: jirutka/{script-name} :version: 0.0.0 ifdef::env-github[] image:https://travis-ci.org/{gh-name}.svg?branch=master["Build Status", link="https://travis-ci.org/{gh-name}"] endif::env-github[] This project provides a script for building customized https://alpinelinux.org/[Alpine Linux] rootfs (a base image if you like) for containers. It’s quite simple (250 LoC of shell), fast and requires minimum dependencies (just common Linux tools). TIP: Do you want to just quickly chroot into Alpine Linux, e.g. on CI? Check out https://github.com/alpinelinux/alpine-chroot-install[alpine-chroot-install]! == Requirements * Linux system * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html[POSIX-sh] compatible shell (e.g. Busybox ash, dash, ZSH, bash, …) * common userland with `chroot`, `getopt`, `grep`, `sed`, `sha256sum`, `wget` (e.g. from Busybox, GNU coreutils, …) * `tar` (full-blown) == Usage Read documentation in link:{script-name}[{script-name}]. See link:.travis.yml[.travis.yml] for Travis example. You can copy link:{script-name}[{script-name}] into your repository or download it on demand, e.g.: [source, sh, subs="+attributes"] wget https://raw.githubusercontent.com/{gh-name}/v{version}/{script-name} \ && echo '{script-sha1} {script-name}' | sha1sum -c \ || exit 1 == License This project is licensed under http://opensource.org/licenses/MIT/[MIT License]. For the full text of the license, see the link:LICENSE[LICENSE] file.