mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-06 23:11:11 +02:00
e89c673a334e4ec60ac2bb4f7df9ffdc5b1fd2c9
To be consistent with ubuntu ones where tag is the version of OS.
macOS Packer Templates for Tart
Repository with Packer templates to build Tart VMs to use with Cirrus Runners and Cirrus CI.
macos-{monterey,ventura,sonoma}-vanillaimage has nothing pre-installedmacos-{monterey,ventura,sonoma}-baseimage has onlybrewpre-installedmacos-{monterey,ventura,sonoma}-xcode:Nimage is based onmacos-{monterey,ventura}-baseimage and hasXcode NwithFlutterpre-installed
See a full list of VMs available here.
Building Vanilla Image
To build macos-sonoma-vanilla:
packer build templates/vanilla-sonoma.pkr.hcl
Optionally, SIP can be disabled for each image by running the following commands:
packer build -var vm_name=sonoma-vanilla templates/disable-sip.pkr.hcl
Building Base Image
packer build -var macos_version=sonoma templates/base.pkr.hcl
Building Xcode Image
packer build -var macos_version=sonoma -var xcode_version=15.3 templates/xcode.pkr.hcl
Languages
HCL
65%
Shell
20.3%
Objective-C
12.3%
C
2.4%