mirror of https://github.com/docker/docs.git
upgrade packages after debootstrap
This makes mkimage-debootstrap upgrade packages after retrieving updated lists of packages. Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
This commit is contained in:
parent
a5c6e08bd6
commit
d04f4d836c
|
@ -219,6 +219,7 @@ if [ -z "$strictDebootstrap" ]; then
|
||||||
|
|
||||||
# make sure our packages lists are as up to date as we can get them
|
# make sure our packages lists are as up to date as we can get them
|
||||||
sudo chroot . apt-get update
|
sudo chroot . apt-get update
|
||||||
|
sudo chroot . apt-get dist-upgrade -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$justTar" ]; then
|
if [ "$justTar" ]; then
|
||||||
|
|
Loading…
Reference in New Issue