mirror of https://github.com/docker/docs.git
Add deprecation warnings to the mkimage scripts that are have consolidated mkimage implementations
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
parent
7e42505083
commit
51f707cf9d
|
@ -2,6 +2,10 @@
|
||||||
# Generate a very minimal filesystem based on busybox-static,
|
# Generate a very minimal filesystem based on busybox-static,
|
||||||
# and load it into the local docker under the name "busybox".
|
# and load it into the local docker under the name "busybox".
|
||||||
|
|
||||||
|
echo >&2
|
||||||
|
echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/busybox-static'
|
||||||
|
echo >&2
|
||||||
|
|
||||||
BUSYBOX=$(which busybox)
|
BUSYBOX=$(which busybox)
|
||||||
[ "$BUSYBOX" ] || {
|
[ "$BUSYBOX" ] || {
|
||||||
echo "Sorry, I could not locate busybox."
|
echo "Sorry, I could not locate busybox."
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
echo >&2
|
||||||
|
echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/debootstrap'
|
||||||
|
echo >&2
|
||||||
|
|
||||||
variant='minbase'
|
variant='minbase'
|
||||||
include='iproute,iputils-ping'
|
include='iproute,iputils-ping'
|
||||||
arch='amd64' # intentionally undocumented for now
|
arch='amd64' # intentionally undocumented for now
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
echo >&2
|
||||||
|
echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/rinse'
|
||||||
|
echo >&2
|
||||||
|
|
||||||
repo="$1"
|
repo="$1"
|
||||||
distro="$2"
|
distro="$2"
|
||||||
mirror="$3"
|
mirror="$3"
|
||||||
|
|
Loading…
Reference in New Issue