Browse code

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 authored on 2018/07/05 01:21:54
Showing 1 changed files
... ...
@@ -29,7 +29,7 @@ getapk() {
29 29
 }
30 30
 
31 31
 mkbase() {
32
-	$TMP/sbin/apk.static --repository $MAINREPO --update-cache --allow-untrusted \
32
+	$TMP/sbin/apk.static --repository $MAINREPO --no-cache --allow-untrusted \
33 33
 		--root $ROOTFS --initdb add alpine-base
34 34
 }
35 35