Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Set default version to Ventura #38

Merged
merged 4 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ VOLUME /storage
ENV RAM_SIZE "4G"
ENV CPU_CORES "2"
ENV DISK_SIZE "64G"
ENV VERSION "sonoma"
ENV VERSION "ventura"

ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
image: dockurr/macos
container_name: macos
environment:
VERSION: "sonoma"
VERSION: "ventura"
devices:
- /dev/kvm
cap_add:
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
image: dockurr/macos
container_name: macos
environment:
VERSION: "sonoma"
VERSION: "ventura"
devices:
- /dev/kvm
cap_add:
Expand Down Expand Up @@ -75,11 +75,11 @@ kubectl apply -f kubernetes.yml

* ### How do I select the macOS version?

By default, macOS Sonoma will be installed. But you can add the `VERSION` environment variable to your compose file, in order to specify an alternative macOS version to be downloaded:
By default, macOS Ventura will be installed. But you can add the `VERSION` environment variable to your compose file, in order to specify an alternative macOS version to be downloaded:

```yaml
environment:
VERSION: "sonoma"
VERSION: "ventura"
```

Select from the values below:
Expand Down
2 changes: 1 addition & 1 deletion src/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -Eeuo pipefail

# Docker environment variables
: "${VERSION:="sonoma"}" # OSX Version
: "${VERSION:="ventura"}" # OSX Version

TMP="$STORAGE/tmp"
BASE_IMG_ID="InstallMedia"
Expand Down