2
2
3
3
Packer templates to build [ macOS Anka images] ( https://veertu.com/anka-technology/ ) to use in CI:
4
4
5
- * ` mojave-base ` image has only ` brew ` pre-installed
6
- * ` mojave-xcode-10.1 ` image is based of ` mojave-base ` and has only ` Xcode 10.1 ` pre-installed
7
- * ` mojave-xcode-10.2 ` image is based of ` mojave-base ` and has only ` Xcode 10.2 ` pre-installed
8
- * ` mojave-xcode-11.2.1 ` image is based of ` mojave-base ` and has only ` Xcode 11.2.1 ` pre-installed
9
- * ` mojave-flutter ` image is based of ` mojave-xcode-11.2.1 ` and has only [ ` Flutter ` ] ( https://flutter.dev/ ) pre-installed
5
+ * ` catalina-base ` image has only ` brew ` pre-installed
6
+ * ` catalina-xcode-11.3.1 ` image is based of ` catalina-base ` and has only ` Xcode 11.3.1 ` pre-installed
7
+ * ` catalina-flutter ` image is based of ` catalina-xcode-11.3.1 ` and has only [ ` Flutter ` ] ( https://flutter.dev/ ) pre-installed
10
8
11
9
## Building Base Image
12
10
13
11
First, run ` ./scripts/install-anka-builder.sh ` to install Anka builder for Packer.
14
12
15
- To build the base image (you need to have ` /Applications/Install macOS Mojave .app/ ` installed from App Store):
13
+ To build the base image (you need to have ` /Applications/Install macOS Catalina .app/ ` installed from App Store):
16
14
17
15
``` bash
18
- packer build templates/mojave -base.json
16
+ packer build templates/catalina -base.json
19
17
```
20
18
21
- We also need to add a port forwarding rule so VMs based of ` mojave -base` image can be SSHable:
19
+ We also need to add a port forwarding rule so VMs based of ` catalina -base` image can be SSHable:
22
20
23
21
``` bash
24
- anka modify mojave -base add port-forwarding --host-port 0 --guest-port 22 --protocol tcp ssh
22
+ anka modify catalina -base add port-forwarding --host-port 0 --guest-port 22 --protocol tcp ssh
25
23
```
26
24
27
25
## Building Xcode Images
@@ -30,5 +28,5 @@ To build an Xcode image (don't forget to setup `FASTLANE_USER` and `FASTLANE_PAS
30
28
[ xcode-install] ( https://github.com/KrauseFx/xcode-install#usage ) ):
31
29
32
30
``` bash
33
- packer build -var xcode_version=" 11.2 .1" templates/mojave -xcode.json
31
+ packer build -var xcode_version=" 11.3 .1" templates/catalina -xcode.json
34
32
```
0 commit comments