Skip to content

Latest commit

 

History

History
 
 

builder

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Alpine Linux rootfs Builder

This builder image constructs a Alpine Linux rootfs.tar.xz for us to use when building the base Alpine Linux image. The mkimage-alpine.sh script does all the heavy lifting. During the configuration of the image we add our apk-install convenience script.

Options

The builder takes several options:

  • -r <release>: The release tag to use (such as edge or v3.1).
  • -m <mirror>: The mirror URL base. Defaults to http://nl.alpinelinux.org/alpine.
  • -s: Outputs the rootfs.tar.xz to stdout.
  • -c: Adds the apk-install script to the resulting rootfs.
  • -e: Adds extra edge/main and edge/testing pins to the repositories file.
  • -d: Disables su to root by removing the blank root password.
  • -E: Does not add community to the repositories file (necessary for versions without a community repo).
  • -t <timezone>: Sets the timezone.
  • -p <packages>: Comma-separated packages list. Default is alpine-base.
  • -b: Extracts alpine-base to the rootfs without dependencies. For images slimmed down with -p which still want /etc/*-release and /etc/issue.
  • -a <architecture>: Changes the architecture of the rootfs to download. Default is x86_64