ca-certificates (missing) for alpine-virt-3.7.0-x86_64.iso

1 post / 0 new
#1 Wed, 2018-03-14 23:10
mcandre
  • mcandre's picture
  • Offline
  • Last seen: 1 day 11 hours ago
  • Joined: 2016-02-09

Hello,

I'm trying to setup a Vagrant box as an Alpine guest virtual machine, but when I go to install ca-certificates with apk add -U ca-certificates, apk complains that it can't find ca-certificates. What's more, apk is able to install openssh, so that would seem to rule out a DNS issue.

Source:

https://github.com/mcandre/packer-templates/blob/alpine/alpine/fix-vagrant-ssh.alpine.sh

Update:

I had neglected to run setup-alpine, so the /etc/apk/repositories file was pointing merely at the ISO disc for packages, which omits the ca-certificates package.