[lxc-devel] [PATCH] lxc-alpine: download statically compiled package manager if not available on host

Serge Hallyn serge.hallyn at ubuntu.com
Wed May 15 18:10:06 UTC 2013


Quoting Kaarle Ritvanen (kaarle.ritvanen at datakunkku.fi):
...
> +        wget="wget -O - $repository/x86"
..
> +        $wget/apk-tools-static-$apk_version.apk | \
> +            tar -Oxz sbin/apk.static > $apk || return 1
> +        chmod u+x $apk
> +        
> +        apk_opts="$apk_opts --allow-untrusted"
> +    fi
> +    
> +    $apk add -U --initdb --root $rootfs $apk_opts "$@" alpine-base

Boy does that scare me though.




More information about the lxc-devel mailing list