Преглед изворни кода

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>

Mickaël Remars пре 7 година
родитељ
комит
e72047a375
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      contrib/mkimage-alpine.sh

+ 1 - 1
contrib/mkimage-alpine.sh

@@ -29,7 +29,7 @@ getapk() {
 }
 }
 
 
 mkbase() {
 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
 		--root $ROOTFS --initdb add alpine-base
 }
 }