The scripts that build the Laravel Homestead development environment.
End result can be found at https://app.vagrantup.com/laravel/boxes/homestead
You probably don't want this repo, follow instructions at https://laravel.com/docs/homestead instead.
If you know what you are doing:
- Clone chef/bento into same top level folder as this repo.
- Run
./bin/link-to-bento.sh - Run
cd ../bentoand work there for the remainder. - Follow normal Packer practice of building
os_pkrvars/ubuntu/ubuntu-26.04-*.pkrvars.hcl
Settler builds the base box from one script, scripts/ubuntu.sh, which targets Ubuntu 26.04 and detects its own architecture at runtime, so there is no separate amd64 or arm64 script.
The Ubuntu 26.04 box defaults to PHP 8.6 and ships Node 26 LTS, PostgreSQL 18 and MySQL 8.4 LTS (from the Ubuntu archive, so it is identical on amd64 and arm64; Oracle's MySQL 9.7 has no arm64 build for 26.04). PHP comes from packages.sury.org/php, because the ppa:ondrej/php Launchpad PPA publishes no 26.04 suite. PECL extensions (xdebug, redis, imagick, memcached, ...) are built after a PHP release, so the script installs whichever 8.6 ones exist and bin/smoke-test.sh reports the rest as WARN. Rebuild once they are published.
Building on aarch64 (Parallels):
cd <path/to>/bento
packer init -upgrade ./packer_templates
packer build -only=parallels-iso.vm -var-file=os_pkrvars/ubuntu/ubuntu-26.04-aarch64.pkrvars.hcl ./packer_templatesBuilding on x86-64 (VirtualBox):
cd <path/to>/bento
packer init -upgrade ./packer_templates
packer build -only=virtualbox-iso.vm -var-file=os_pkrvars/ubuntu/ubuntu-26.04-x86_64.pkrvars.hcl ./packer_templatesBefore opening a pull request, run the static checks:
./bin/verify-scripts.sh
./bin/link-to-bento.sh && ./bin/verify-bento-link.sh