mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-09-30 03:42:04 +02:00
920aa01e4f5c3499ec745e73407febe5deb0520d
macOS Packer Templates for Cirrus CI
Repository with Packer templates to build Tart VMs to use with Cirrus CI.
macos-{monterey,ventura}-vanillaimage has nothing pre-installedmacos-{monterey,ventura}-baseimage has onlybrewpre-installedmacos-{monterey,ventura}-xcode:Nimage is based onmacos-{monterey,ventura}-baseimage and hasXcode NwithFlutterpre-installed
See a full list of VMs available on Cirrus CI here.
Building Vanilla Image
To build macos-monterey-vanilla:
packer build templates/vanilla-monterey.pkr.hcl
To build macos-ventura-vanilla:
packer build templates/vanilla-ventura.pkr.hcl
Optionally, SIP can be disabled for each image by running the following commands:
packer build -var vm_name=monterey-vanilla templates/disable-sip.pkr.hcl
packer build -var vm_name=ventura-vanilla templates/disable-sip.pkr.hcl
Building Base Image
packer build -var-file="variables.pkrvars.hcl" templates/base.pkr.hcl
Building Xcode Image
packer build -var-file="variables.pkrvars.hcl" templates/xcode.pkr.hcl
Languages
HCL
65%
Shell
20.3%
Objective-C
12.3%
C
2.4%