Bladeren bron

feat: Improve Github Codespaces configuration (#1497)

Kroese 2 weken geleden
bovenliggende
commit
c997bf7765
29 gewijzigde bestanden met toevoegingen van 82 en 210 verwijderingen
  1. 1 4
      .devcontainer/010 - Windows 11 Enterprise/devcontainer.json
  2. 1 4
      .devcontainer/020 - Windows 11 LTSC/devcontainer.json
  3. 1 4
      .devcontainer/030 - Windows 10 Pro/devcontainer.json
  4. 1 4
      .devcontainer/040 - Windows 10 Enterprise/devcontainer.json
  5. 1 4
      .devcontainer/050 - Windows 10 LTSC/devcontainer.json
  6. 1 4
      .devcontainer/060 - Windows 8.1 Enterprise/devcontainer.json
  7. 2 5
      .devcontainer/070 - Windows 7 Ultimate/devcontainer.json
  8. 18 0
      .devcontainer/080 - Windows Vista Ultimate/devcontainer.json
  9. 18 0
      .devcontainer/090 - Windows XP Professional/devcontainer.json
  10. 1 4
      .devcontainer/100 - Windows 2000 Professional/devcontainer.json
  11. 1 4
      .devcontainer/110 - Windows Server 2025/devcontainer.json
  12. 1 4
      .devcontainer/120 - Windows Server 2022/devcontainer.json
  13. 1 4
      .devcontainer/130 - Windows Server 2019/devcontainer.json
  14. 1 4
      .devcontainer/140 - Windows Server 2016/devcontainer.json
  15. 1 4
      .devcontainer/150 - Windows Server 2012 R2/devcontainer.json
  16. 1 4
      .devcontainer/160 - Windows Server 2008 R2/devcontainer.json
  17. 1 4
      .devcontainer/170 - Windows Server 2003/devcontainer.json
  18. 2 5
      .devcontainer/180 - Tiny11/devcontainer.json
  19. 2 5
      .devcontainer/190 - Tiny11 Core/devcontainer.json
  20. 2 5
      .devcontainer/200 - Tiny11 Nano/devcontainer.json
  21. 21 0
      .devcontainer/210 - Tiny10/devcontainer.json
  22. 0 21
      .devcontainer/7u/devcontainer.json
  23. 0 21
      .devcontainer/7u32/devcontainer.json
  24. 2 1
      .devcontainer/codespaces.yml
  25. 1 4
      .devcontainer/devcontainer.json
  26. 0 24
      .devcontainer/nano11/devcontainer.json
  27. 0 21
      .devcontainer/vu/devcontainer.json
  28. 0 21
      .devcontainer/vu32/devcontainer.json
  29. 0 21
      .devcontainer/xp64/devcontainer.json

+ 1 - 4
.devcontainer/11e/devcontainer.json → .devcontainer/010 - Windows 11 Enterprise/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 11 Enterprise",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "11e",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "11e"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/11l/devcontainer.json → .devcontainer/020 - Windows 11 LTSC/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 11 LTSC",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "11l",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "11l"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/10/devcontainer.json → .devcontainer/030 - Windows 10 Pro/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 10 Pro",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "10",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "10"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/10e/devcontainer.json → .devcontainer/040 - Windows 10 Enterprise/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 10 Enterprise",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "10e",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "10e"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/10l/devcontainer.json → .devcontainer/050 - Windows 10 LTSC/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 10 LTSC",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "10l",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "10l"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/8e/devcontainer.json → .devcontainer/060 - Windows 8.1 Enterprise/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 8.1 Enterprise",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "8e",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "8e"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 2 - 5
.devcontainer/xp/devcontainer.json → .devcontainer/070 - Windows 7 Ultimate/devcontainer.json

@@ -1,11 +1,8 @@
 {
-  "name": "Windows XP (32-bit)",
+  "name": "Windows 7 Ultimate",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "xp",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "7u"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 18 - 0
.devcontainer/080 - Windows Vista Ultimate/devcontainer.json

@@ -0,0 +1,18 @@
+{
+  "name": "Windows Vista Ultimate",
+  "service": "windows",
+  "containerEnv": {
+    "VERSION": "vu"
+  },  
+  "forwardPorts": [8006],  
+  "portsAttributes": {
+    "8006": {
+      "label": "Web",
+      "onAutoForward": "openBrowser"
+    }
+  },
+  "otherPortsAttributes": {
+    "onAutoForward": "silent"
+  },
+  "dockerComposeFile": "../codespaces.yml"
+}

+ 18 - 0
.devcontainer/090 - Windows XP Professional/devcontainer.json

@@ -0,0 +1,18 @@
+{
+  "name": "Windows XP Professional",
+  "service": "windows",
+  "containerEnv": {
+    "VERSION": "xp"
+  },  
+  "forwardPorts": [8006],  
+  "portsAttributes": {
+    "8006": {
+      "label": "Web",
+      "onAutoForward": "openBrowser"
+    }
+  },
+  "otherPortsAttributes": {
+    "onAutoForward": "silent"
+  },
+  "dockerComposeFile": "../codespaces.yml"
+}

+ 1 - 4
.devcontainer/2k/devcontainer.json → .devcontainer/100 - Windows 2000 Professional/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 2000 Professional",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2k",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2k"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/2025/devcontainer.json → .devcontainer/110 - Windows Server 2025/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows Server 2025",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2025",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2025"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/2022/devcontainer.json → .devcontainer/120 - Windows Server 2022/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows Server 2022",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2022",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2022"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/2019/devcontainer.json → .devcontainer/130 - Windows Server 2019/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows Server 2019",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2019",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2019"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/2016/devcontainer.json → .devcontainer/140 - Windows Server 2016/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows Server 2016",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2016",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2016"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/2012/devcontainer.json → .devcontainer/150 - Windows Server 2012 R2/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows Server 2012 R2",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2012",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2012"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/2008/devcontainer.json → .devcontainer/160 - Windows Server 2008 R2/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows Server 2008 R2",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2008",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2008"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 1 - 4
.devcontainer/2003/devcontainer.json → .devcontainer/170 - Windows Server 2003/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows Server 2003",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "2003",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "2003"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 2 - 5
.devcontainer/tiny10/devcontainer.json → .devcontainer/180 - Tiny11/devcontainer.json

@@ -1,11 +1,8 @@
 {
-  "name": "Tiny 10",
+  "name": "Tiny11",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "tiny10",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "tiny11"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 2 - 5
.devcontainer/tiny11/devcontainer.json → .devcontainer/190 - Tiny11 Core/devcontainer.json

@@ -1,11 +1,8 @@
 {
-  "name": "Tiny 11",
+  "name": "Tiny11 Core",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "tiny11",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "core11"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 2 - 5
.devcontainer/core11/devcontainer.json → .devcontainer/200 - Tiny11 Nano/devcontainer.json

@@ -1,11 +1,8 @@
 {
-  "name": "Tiny 11 Core",
+  "name": "Tiny11 Nano",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "core11",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
+    "VERSION": "nano11"
   },  
   "forwardPorts": [8006],  
   "portsAttributes": {

+ 21 - 0
.devcontainer/210 - Tiny10/devcontainer.json

@@ -0,0 +1,21 @@
+{
+  "name": "Tiny10",
+  "service": "windows",
+  "containerEnv": {
+    "VERSION": "tiny10"
+  },  
+  "forwardPorts": [8006],  
+  "portsAttributes": {
+    "8006": {
+      "label": "Web",
+      "onAutoForward": "openBrowser"
+    }
+  },
+  "otherPortsAttributes": {
+    "onAutoForward": "silent"
+  }, 
+  "hostRequirements": {
+    "storage": "64gb"
+  },  
+  "dockerComposeFile": "../codespaces.yml"
+}

+ 0 - 21
.devcontainer/7u/devcontainer.json

@@ -1,21 +0,0 @@
-{
-  "name": "Windows 7 Ultimate (64-bit)",
-  "service": "windows",
-  "containerEnv": {
-    "VERSION": "7u",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
-  },  
-  "forwardPorts": [8006],  
-  "portsAttributes": {
-    "8006": {
-      "label": "Web",
-      "onAutoForward": "openBrowser"
-    }
-  },
-  "otherPortsAttributes": {
-    "onAutoForward": "silent"
-  },
-  "dockerComposeFile": "../codespaces.yml"
-}

+ 0 - 21
.devcontainer/7u32/devcontainer.json

@@ -1,21 +0,0 @@
-{
-  "name": "Windows 7 Ultimate (32-bit)",
-  "service": "windows",
-  "containerEnv": {
-    "VERSION": "7ux86",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
-  },  
-  "forwardPorts": [8006],  
-  "portsAttributes": {
-    "8006": {
-      "label": "Web",
-      "onAutoForward": "openBrowser"
-    }
-  },
-  "otherPortsAttributes": {
-    "onAutoForward": "silent"
-  },
-  "dockerComposeFile": "../codespaces.yml"
-}

+ 2 - 1
.devcontainer/codespaces.yml

@@ -4,7 +4,8 @@ services:
     container_name: windows
     environment:
       VERSION: "11"
-      RAM_SIZE: "max"
+      ALLOCATE: "Y"
+      RAM_SIZE: "half"
       DISK_SIZE: "max"
       CPU_CORES: "max"
     devices:

+ 1 - 4
.devcontainer/devcontainer.json

@@ -2,10 +2,7 @@
   "name": "Windows 11 Pro",
   "service": "windows",
   "containerEnv": {
-    "VERSION": "11",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"
+    "VERSION": "11"
   },
   "forwardPorts": [8006],
   "portsAttributes": {

+ 0 - 24
.devcontainer/nano11/devcontainer.json

@@ -1,24 +0,0 @@
-{
-  "name": "Tiny 11 Nano",
-  "service": "windows",
-  "containerEnv": {
-    "VERSION": "nano11",
-    "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"
-}

+ 0 - 21
.devcontainer/vu/devcontainer.json

@@ -1,21 +0,0 @@
-{
-  "name": "Windows Vista Ultimate (64-bit)",
-  "service": "windows",
-  "containerEnv": {
-    "VERSION": "vu",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
-  },  
-  "forwardPorts": [8006],  
-  "portsAttributes": {
-    "8006": {
-      "label": "Web",
-      "onAutoForward": "openBrowser"
-    }
-  },
-  "otherPortsAttributes": {
-    "onAutoForward": "silent"
-  },
-  "dockerComposeFile": "../codespaces.yml"
-}

+ 0 - 21
.devcontainer/vu32/devcontainer.json

@@ -1,21 +0,0 @@
-{
-  "name": "Windows Vista Ultimate (32-bit)",
-  "service": "windows",
-  "containerEnv": {
-    "VERSION": "vux86",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
-  },  
-  "forwardPorts": [8006],  
-  "portsAttributes": {
-    "8006": {
-      "label": "Web",
-      "onAutoForward": "openBrowser"
-    }
-  },
-  "otherPortsAttributes": {
-    "onAutoForward": "silent"
-  },
-  "dockerComposeFile": "../codespaces.yml"
-}

+ 0 - 21
.devcontainer/xp64/devcontainer.json

@@ -1,21 +0,0 @@
-{
-  "name": "Windows XP (64-bit)",
-  "service": "windows",
-  "containerEnv": {
-    "VERSION": "xp64",
-    "RAM_SIZE": "max",
-    "DISK_SIZE": "max",
-    "CPU_CORES": "max"    
-  },  
-  "forwardPorts": [8006],  
-  "portsAttributes": {
-    "8006": {
-      "label": "Web",
-      "onAutoForward": "openBrowser"
-    }
-  },
-  "otherPortsAttributes": {
-    "onAutoForward": "silent"
-  },  
-  "dockerComposeFile": "../codespaces.yml"
-}