feat: Make macOS version selectable in Codespaces (#347)

This commit is contained in:
Kroese 2025-10-16 08:55:31 +02:00 committed by GitHub
parent e461eba7b3
commit 9a8afcf237
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 122 additions and 2 deletions

View file

@ -0,0 +1,24 @@
{
"name": "macOS 10 (Catalina)",
"service": "macos",
"containerEnv": {
"VERSION": "10",
"RAM_SIZE": "max",
"DISK_SIZE": "max",
"CPU_CORES": "max"
},
"forwardPorts": [8006],
"portsAttributes": {
"8006": {
"label": "Web",
"onAutoForward": "openBrowser"
}
},
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"hostRequirements": {
"storage": "64gb"
},
"dockerComposeFile": "../codespaces.yml"
}

View file

@ -0,0 +1,24 @@
{
"name": "macOS 11 (Big Sur)",
"service": "macos",
"containerEnv": {
"VERSION": "11",
"RAM_SIZE": "max",
"DISK_SIZE": "max",
"CPU_CORES": "max"
},
"forwardPorts": [8006],
"portsAttributes": {
"8006": {
"label": "Web",
"onAutoForward": "openBrowser"
}
},
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"hostRequirements": {
"storage": "64gb"
},
"dockerComposeFile": "../codespaces.yml"
}

View file

@ -0,0 +1,24 @@
{
"name": "macOS 12 (Monterey)",
"service": "macos",
"containerEnv": {
"VERSION": "12",
"RAM_SIZE": "max",
"DISK_SIZE": "max",
"CPU_CORES": "max"
},
"forwardPorts": [8006],
"portsAttributes": {
"8006": {
"label": "Web",
"onAutoForward": "openBrowser"
}
},
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"hostRequirements": {
"storage": "64gb"
},
"dockerComposeFile": "../codespaces.yml"
}

View file

@ -0,0 +1,24 @@
{
"name": "macOS 13 (Ventura)",
"service": "macos",
"containerEnv": {
"VERSION": "13",
"RAM_SIZE": "max",
"DISK_SIZE": "max",
"CPU_CORES": "max"
},
"forwardPorts": [8006],
"portsAttributes": {
"8006": {
"label": "Web",
"onAutoForward": "openBrowser"
}
},
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"hostRequirements": {
"storage": "64gb"
},
"dockerComposeFile": "../codespaces.yml"
}

View file

@ -0,0 +1,24 @@
{
"name": "macOS 15 (Sequoia)",
"service": "macos",
"containerEnv": {
"VERSION": "15",
"RAM_SIZE": "max",
"DISK_SIZE": "max",
"CPU_CORES": "max"
},
"forwardPorts": [8006],
"portsAttributes": {
"8006": {
"label": "Web",
"onAutoForward": "openBrowser"
}
},
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"hostRequirements": {
"storage": "64gb"
},
"dockerComposeFile": "../codespaces.yml"
}

View file

@ -1,5 +1,5 @@
{
"name": "macOS 14",
"name": "macOS 14 (Sonoma)",
"service": "macos",
"containerEnv": {
"VERSION": "14",
@ -20,5 +20,5 @@
"hostRequirements": {
"storage": "64gb"
},
"dockerComposeFile": ".github/codespaces.yml"
"dockerComposeFile": "codespaces.yml"
}