mirror of https://github.com/docker/docs.git
Allow for custom debootstrap wrappers like qemu-debootstrap in contrib/mkimage/debootstrap
Signed-off-by: Andrew Page <admwiggin@gmail.com>
This commit is contained in:
parent
660eadae3d
commit
33e0de15d7
|
@ -15,9 +15,12 @@ done
|
||||||
suite="$1"
|
suite="$1"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
# allow for DEBOOTSTRAP=qemu-debootstrap ./mkimage.sh ...
|
||||||
|
: ${DEBOOTSTRAP:=debootstrap}
|
||||||
|
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
debootstrap "${before[@]}" "$suite" "$rootfsDir" "$@"
|
$DEBOOTSTRAP "${before[@]}" "$suite" "$rootfsDir" "$@"
|
||||||
)
|
)
|
||||||
|
|
||||||
# now for some Docker-specific tweaks
|
# now for some Docker-specific tweaks
|
||||||
|
|
Loading…
Reference in New Issue