Hacker News new | past | comments | ask | show | jobs | submit login

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



Hitting dl-cdn.alpinelinux.org repeatedly for simple things is probably not nice. Is there an easy way to have a local alpine mirror?


I'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_Linu...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: