Go to file
fedor 437ed9dcb0 Bump Android Version 2019-09-23 16:56:27 -07:00
scripts fixed url 2018-07-13 13:47:44 -04:00
templates Bump Android Version 2019-09-23 16:56:27 -07:00
.gitignore install anka builder script 2018-04-16 13:58:47 -04:00
LICENSE Initial commit 2018-04-13 10:47:36 -04:00
README.md Xcode 10.3 2019-07-31 09:31:51 -04:00

README.md

osx-images

Packer templates to build macOS Anka images to use in CI:

  • mojave-base image has only brew pre-installed
  • mojave-xcode-10.1 image is based of mojave-base and has only Xcode 10.1 pre-installed
  • mojave-xcode-10.2 image is based of mojave-base and has only Xcode 10.2 pre-installed
  • mojave-xcode-10.3 image is based of mojave-base and has only Xcode 10.3 pre-installed
  • mojave-flutter image is based of mojave-xcode-10.3 and has only Flutter pre-installed

Building Base Image

First, run ./scripts/install-anka-builder.sh to install Anka builder for Packer.

To build the base image (you need to have /Applications/Install macOS High Sierra.app/ installed from App Store):

packer build templates/mojave-base.json

We also need to add a port forwarding rule so VMs based of mojave-base image can be SSHable:

anka modify mojave-base add port-forwarding --host-port 0 --guest-port 22 --protocol tcp ssh

Building Xcode Images

To build an Xcode image (don't forget to setup FASTLANE_USER and FASTLANE_PASSWORD since they are required by xcode-install):

packer build -var xcode_version="10.3" templates/mojave-xcode.json