3 ms·
Takes about 2 seconds to fix: $ docker run -ti alpine /bin/sh / # apk add --update curl fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKIN
by bboreham 10y ago
Takes about 2 seconds to fix:
$ docker run -ti alpine /bin/sh
/ # apk add --update curl
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/4) Installing ca-certificates (20160104-r4)
(2/4) Installing libssh2 (1.7.0-r0)
(3/4) Installing libcurl (7.50.3-r0)
(4/4) Installing curl (7.50.3-r0)
Executing busybox-1.24.2-r9.trigger
Executing ca-certificates-20160104-r4.trigger
OK: 6 MiB in 15 packages
- sigjuice 10y agoHitting dl-cdn.alpinelinux.org repeatedly for simple things is probably not nice. Is there an easy way to have a local alpine mirror?
- bboreham 10y agoI'm not suggesting this would be done repeatedly. Just when you need to debug something. Nonetheless: https://wiki.alpinelinux.org/wiki/How_to_setup_a_Alpine_Linux_mirror https://wiki.alpinelinux.org/wiki/How_to_setup_a_Alpine_Linu...