mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-17 20:25:41 +02:00
98b522dbfa79cff104b92087bcd2735f7488f815
* Push images to public ECR Related to https://github.com/cirruslabs/tart/discussions/652 * Use the default alias until we get the custom one
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-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%