From d04f4d836c6b2a9266350a1b0e284949dcc6510a Mon Sep 17 00:00:00 2001 From: unclejack Date: Sat, 8 Mar 2014 17:36:18 +0200 Subject: [PATCH] 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 (github: unclejack) --- contrib/mkimage-debootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/mkimage-debootstrap.sh b/contrib/mkimage-debootstrap.sh index bf89600973..33ba7b07cb 100755 --- a/contrib/mkimage-debootstrap.sh +++ b/contrib/mkimage-debootstrap.sh @@ -219,6 +219,7 @@ if [ -z "$strictDebootstrap" ]; then # make sure our packages lists are as up to date as we can get them sudo chroot . apt-get update + sudo chroot . apt-get dist-upgrade -y fi if [ "$justTar" ]; then