1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Replaced "--update-cache" argument with "--no-cache" in apk call to reduce alpine base image by 10-12% (avoid useless indexes in /var/cache/apk)

Signed-off-by: Mickaël Remars <github@remars.com>
This commit is contained in:
Mickaël Remars 2018-07-04 18:21:54 +02:00
parent b711437bbd
commit e72047a375

View file

@ -29,7 +29,7 @@ getapk() {
}
mkbase() {
$TMP/sbin/apk.static --repository $MAINREPO --update-cache --allow-untrusted \
$TMP/sbin/apk.static --repository $MAINREPO --no-cache --allow-untrusted \
--root $ROOTFS --initdb add alpine-base
}