How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "ysbaddaden/alpine32"
config.vm.box_version = "0.1.1"
end
vagrant init ysbaddaden/alpine32 \
--box-version 0.1.1
vagrant up
This version was created over 8 years ago.
Minimal Alpine Linux box for vagrant-lxc.
Nothing is installed, except for sudo. The box is ready to be customized.
Bash isn't installed, thus in order for Vagrant to be capable to execute
commands on the box (eg: shell provisioning or halting) you must configure
config.ssh.shell to either "sh" or "ash".
The following example showcases how to configure a VM to build packages:
Vagrant.configure(2) do |config|
config.ssh.shell = "sh"
config.vm.box = "ysbaddaden/alpine32"
config.vm.provision "shell", inline: <<-SHELL
apk update
apk upgrade
apk add alpine-sdk
addgroup vagrant abuild
SHELL
end
Then:
vagrant up
vagrant ssh -c "cd /vagrant && abuild -r"