All Projects → rgl → alpine-vagrant

rgl / alpine-vagrant

Licence: other
This builds an up-to-date Vagrant Alpine Linux Base Box

Programming Languages

shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to alpine-vagrant

headless-chrome-alpine
A Docker container running headless Chrome
Stars: ✭ 26 (+18.18%)
Mutual labels:  alpine, alpine-linux
docker flutter
Alpine Linux image for Flutter & Dart with helpful utils and web build support.
Stars: ✭ 33 (+50%)
Mutual labels:  alpine, alpine-linux
docker-dind-awscli
A Docker image for Docker-in-Docker (dind) with AWS CLI v2 awscli tool included
Stars: ✭ 36 (+63.64%)
Mutual labels:  alpine, alpine-linux
docker-node-ci
The Docker image based on the official "node" image optimized for a CI environment
Stars: ✭ 18 (-18.18%)
Mutual labels:  alpine, alpine-linux
alpine-buildpack-deps
An attempt at a "buildpack-deps"-like Docker image with Alpine Linux
Stars: ✭ 30 (+36.36%)
Mutual labels:  alpine, alpine-linux
docker-alpine-sshd
A lightweight OpenSSH Docker Image built atop Alpine Linux.
Stars: ✭ 108 (+390.91%)
Mutual labels:  alpine, alpine-linux
alpine-prestashop
Prestashop running on Alpine Linux [Docker]
Stars: ✭ 13 (-40.91%)
Mutual labels:  alpine, alpine-linux
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (+1277.27%)
Mutual labels:  vagrant, alpine
alpinist
Automatic Alpine Linux Package (apk) Repository Generation using AWS Lambda, S3 & SSM Parameter Store
Stars: ✭ 45 (+104.55%)
Mutual labels:  alpine, alpine-linux
alpine-php-wordpress
Wordpress running on Alpine Linux [Docker]
Stars: ✭ 30 (+36.36%)
Mutual labels:  alpine, alpine-linux
alpine-qbittorrent-openvpn
qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
Stars: ✭ 230 (+945.45%)
Mutual labels:  alpine, alpine-linux
docker-aws-s3-sync
Docker container to sync a folder to Amazon S3
Stars: ✭ 21 (-4.55%)
Mutual labels:  alpine, alpine-linux
http-server
A Java HTTP server in 35MB Docker image
Stars: ✭ 17 (-22.73%)
Mutual labels:  alpine, alpine-linux
pi-factory
Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux
Stars: ✭ 17 (-22.73%)
Mutual labels:  alpine, alpine-linux
Vagrant Box Templates
Stars: ✭ 100 (+354.55%)
Mutual labels:  vagrant, alpine
alpine-php-fpm
Lightweight and optimised PHP-FPM (PHP 7.4, 8.0, 8.1) Docker images with essential extensions on top of latest Alpine Linux.
Stars: ✭ 53 (+140.91%)
Mutual labels:  alpine, alpine-linux
Pieman
Script for creating custom OS images for single-board computers
Stars: ✭ 149 (+577.27%)
Mutual labels:  alpine, alpine-linux
Termuxalpine
Use TermuxAlpine.sh calling to install Alpine Linux in Termux on Android. This setup script will attempt to set Alpine Linux up in your Termux environment.
Stars: ✭ 224 (+918.18%)
Mutual labels:  alpine, alpine-linux
docker-geoserver
A basic docker geoserver image with JAI and marlin renderer running on tomcat
Stars: ✭ 17 (-22.73%)
Mutual labels:  alpine, alpine-linux
docker-nagios
Docker image for Nagios Core in Alpine Linux with basic plugins, available for x86, x64 , ARM v6, ARM v7 and ARM64.
Stars: ✭ 33 (+50%)
Mutual labels:  alpine, alpine-linux

This builds an up-to-date Vagrant Alpine Linux Base Box.

Currently this targets Alpine Linux 3.14.

Usage

Install Packer (1.7+), Vagrant (2.2.16+) and VirtualBox (6.1+).

If you are on a Debian/Ubuntu host, you should also install and configure the NFS server. E.g.:

# install the nfs server.
sudo apt-get install -y nfs-kernel-server

# enable password-less configuration of the nfs server exports.
sudo bash -c 'cat >/etc/sudoers.d/vagrant-synced-folders' <<'EOF'
Cmnd_Alias VAGRANT_EXPORTS_CHOWN = /bin/chown 0\:0 /tmp/*
Cmnd_Alias VAGRANT_EXPORTS_MV = /bin/mv -f /tmp/* /etc/exports
Cmnd_Alias VAGRANT_NFSD_CHECK = /etc/init.d/nfs-kernel-server status
Cmnd_Alias VAGRANT_NFSD_START = /etc/init.d/nfs-kernel-server start
Cmnd_Alias VAGRANT_NFSD_APPLY = /usr/sbin/exportfs -ar
%sudo ALL=(root) NOPASSWD: VAGRANT_EXPORTS_CHOWN, VAGRANT_EXPORTS_MV, VAGRANT_NFSD_CHECK, VAGRANT_NFSD_START, VAGRANT_NFSD_APPLY
EOF

For more information see the Vagrant NFS documentation.

qemu-kvm usage

Install qemu-kvm:

apt-get install -y qemu-kvm
apt-get install -y sysfsutils
apt-get install -y rng-tools
systool -m kvm_intel -v

Type make build-libvirt and follow the instructions.

Try the example guest:

cd example
apt-get install -y virt-manager libvirt-dev
vagrant plugin install vagrant-libvirt
vagrant up --provider=libvirt
vagrant ssh
exit
vagrant destroy -f

VirtualBox usage

Install VirtualBox.

Type make build-virtualbox and follow the instructions.

Try the example guest:

cd example
vagrant up --provider=virtualbox
vagrant ssh
exit
vagrant destroy -f

Packer boot_command

The following table describes the steps used to install Alpine Linux.

NB This Packer boot_command method of installation is quite brittle, if you are having trouble installing, try increasing the install wait timeout, or changing the Alpine mirror in the answers file to one near you.

step boot_command
login as root root<enter>
bring up the network ifconfig eth0 up && udhcpc -i eth0<enter><wait5>
download the setup answers wget -q http://{{.HTTPIP}}:{{.HTTPPort}}/answers<enter><wait>
run the setup setup-alpine -f $PWD/answers<enter><wait5>
type the root password vagrant<enter>
re-type the root password vagrant<enter>
wait for the services to start <wait30s>
confirm that we want to erase sda y<enter>
wait for the installation to finish <wait4m>
mount the root partition mount /dev/sda3 /mnt<enter>
configure sshd to allow root login sed -i -E 's,#?(PermitRootLogin\s+).+,\1yes,' /mnt/etc/ssh/sshd_config<enter>
reboot to the installed system reboot<enter>

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].