No Description

Jakub Jirutka c7250db754 CI: Configure Travis to build example rootfs 7 years ago
example c7250db754 CI: Configure Travis to build example rootfs 7 years ago
.editorconfig d94c39e30e Prepare project 7 years ago
.travis.yml c7250db754 CI: Configure Travis to build example rootfs 7 years ago
LICENSE d94c39e30e Prepare project 7 years ago
Makefile d94c39e30e Prepare project 7 years ago
README.adoc e88d4f2baf Readme: Add preamble 7 years ago
alpine-make-rootfs d67cd3d4c9 Fix compatibility with printf in dash 7 years ago

README.adoc

= 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.