From 669bea269dbdb8c9a17548c79aa5a8de0f6c3866 Mon Sep 17 00:00:00 2001 From: sickcodes Date: Thu, 16 Nov 2023 14:28:51 +0000 Subject: [PATCH] Add sonoma to README and build script. Plist changes shall be made via https://github.com/kholia/OSX-KVM/commit/422bb3b7137cd13468aee86de3640835e1d774f9 and then update submodule sickcodes/osx-serial-generator --- README.md | 19 +++++++++++++++++++ tests/test.sh | 1 + 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index 2792a37..9cf412a 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,22 @@ docker run -it \ # docker build -t docker-osx --build-arg SHORTNAME=ventura . ``` +### Sonoma [![https://img.shields.io/docker/image-size/sickcodes/docker-osx/sonoma?label=sickcodes%2Fdocker-osx%3Asonoma](https://img.shields.io/docker/image-size/sickcodes/docker-osx/sonoma?label=sickcodes%2Fdocker-osx%3Asonoma)](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated) + +```bash + +docker run -it \ + --device /dev/kvm \ + -p 50922:10022 \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -e "DISPLAY=${DISPLAY:-:0.0}" \ + -e GENERATE_UNIQUE=true \ + -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ + sickcodes/docker-osx:sonoma + +# docker build -t docker-osx --build-arg SHORTNAME=sonoma . +``` + #### Run Catalina Pre-Installed [![https://img.shields.io/docker/image-size/sickcodes/docker-osx/auto?label=sickcodes%2Fdocker-osx%3Aauto](https://img.shields.io/docker/image-size/sickcodes/docker-osx/auto?label=sickcodes%2Fdocker-osx%3Aauto)](https://hub.docker.com/r/sickcodes/docker-osx/tags?page=1&ordering=last_updated) ```bash @@ -373,6 +389,7 @@ Pick one of these while **building**, irrelevant when using docker pull: --build-arg SHORTNAME=big-sur --build-arg SHORTNAME=monterey --build-arg SHORTNAME=ventura +--build-arg SHORTNAME=sonoma ``` @@ -386,6 +403,7 @@ There are currently multiple images, each with different use cases (explained [b - Big Sur - Monterey - Ventura +- Sonoma - Auto (pre-made Catalina) - Naked (use your own .img) - Naked-Auto (user your own .img and SSH in) @@ -523,6 +541,7 @@ Create your personal image using `:latest` or `big-sur`. Then, pull the image ou - `sickcodes/docker-osx:big-sur` - [I want to run Big Sur.](#quick-start-docker-osx) - `sickcodes/docker-osx:monterey` - [I want to run Monterey.](#quick-start-docker-osx) - `sickcodes/docker-osx:ventura` - [I want to run Ventura.](#quick-start-docker-osx) +- `sickcodes/docker-osx:sonoma` - [I want to run Sonoma.](#quick-start-docker-osx) - `sickcodes/docker-osx:high-sierra` - I want to run High Sierra. - `sickcodes/docker-osx:mojave` - I want to run Mojave. diff --git a/tests/test.sh b/tests/test.sh index 2a6a906..8c0bb31 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -138,6 +138,7 @@ VERSION_BUILDS=( 'big-sur' 'monterey' 'ventura' + 'sonoma' ) warning () {