소스 검색

feat: Improve Github Codespaces configuration (#1510)

Kroese 2 주 전
부모
커밋
c3ba25bfb7
23개의 변경된 파일46개의 추가작업 그리고 47개의 파일을 삭제
  1. 2 2
      .devcontainer/010 - Windows 11 Enterprise/devcontainer.json
  2. 2 2
      .devcontainer/020 - Windows 11 LTSC/devcontainer.json
  3. 2 2
      .devcontainer/030 - Windows 10 Pro/devcontainer.json
  4. 2 2
      .devcontainer/040 - Windows 10 Enterprise/devcontainer.json
  5. 2 2
      .devcontainer/050 - Windows 10 LTSC/devcontainer.json
  6. 2 2
      .devcontainer/060 - Windows 8.1 Enterprise/devcontainer.json
  7. 2 2
      .devcontainer/070 - Windows 7 Ultimate/devcontainer.json
  8. 2 2
      .devcontainer/080 - Windows Vista Ultimate/devcontainer.json
  9. 2 2
      .devcontainer/090 - Windows XP Professional/devcontainer.json
  10. 2 2
      .devcontainer/100 - Windows 2000 Professional/devcontainer.json
  11. 2 2
      .devcontainer/110 - Windows Server 2025/devcontainer.json
  12. 2 2
      .devcontainer/120 - Windows Server 2022/devcontainer.json
  13. 2 2
      .devcontainer/130 - Windows Server 2019/devcontainer.json
  14. 2 2
      .devcontainer/140 - Windows Server 2016/devcontainer.json
  15. 2 2
      .devcontainer/150 - Windows Server 2012 R2/devcontainer.json
  16. 2 2
      .devcontainer/160 - Windows Server 2008 R2/devcontainer.json
  17. 2 2
      .devcontainer/170 - Windows Server 2003/devcontainer.json
  18. 2 2
      .devcontainer/180 - Tiny11/devcontainer.json
  19. 2 2
      .devcontainer/190 - Tiny11 Core/devcontainer.json
  20. 2 2
      .devcontainer/200 - Tiny11 Nano/devcontainer.json
  21. 2 2
      .devcontainer/210 - Tiny10/devcontainer.json
  22. 1 2
      .devcontainer/codespaces.yml
  23. 3 3
      .devcontainer/devcontainer.json

+ 2 - 2
.devcontainer/010 - Windows 11 Enterprise/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "11e"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/020 - Windows 11 LTSC/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "11l"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/030 - Windows 10 Pro/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "10"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/040 - Windows 10 Enterprise/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "10e"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/050 - Windows 10 LTSC/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "10l"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/060 - Windows 8.1 Enterprise/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "8e"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/070 - Windows 7 Ultimate/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "7u"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/080 - Windows Vista Ultimate/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "vu"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/090 - Windows XP Professional/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "xp"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/100 - Windows 2000 Professional/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2k"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/110 - Windows Server 2025/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2025"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/120 - Windows Server 2022/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2022"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/130 - Windows Server 2019/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2019"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/140 - Windows Server 2016/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2016"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/150 - Windows Server 2012 R2/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2012"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/160 - Windows Server 2008 R2/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2008"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/170 - Windows Server 2003/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "2003"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/180 - Tiny11/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "tiny11"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/190 - Tiny11 Core/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "core11"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/200 - Tiny11 Nano/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "nano11"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 2 - 2
.devcontainer/210 - Tiny10/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "tiny10"
   },  
-  "forwardPorts": [8006],  
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
   }, 
   "dockerComposeFile": "../codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }

+ 1 - 2
.devcontainer/codespaces.yml

@@ -1,9 +1,8 @@
 services:
   windows:
-    image: dockurr/windows
     container_name: windows
+    image: ghcr.io/dockur/windows
     environment:
-      ALLOCATE: "Y"
       RAM_SIZE: "half"
       DISK_SIZE: "max"
       CPU_CORES: "max"

+ 3 - 3
.devcontainer/devcontainer.json

@@ -4,16 +4,16 @@
   "containerEnv": {
     "VERSION": "11"
   },
-  "forwardPorts": [8006],
   "portsAttributes": {
     "8006": {
       "label": "Web",
-      "onAutoForward": "openBrowser"
+      "onAutoForward": "notify"
     }
   },
   "otherPortsAttributes": {
     "onAutoForward": "ignore"
-  }, 
+  },
   "dockerComposeFile": "codespaces.yml",
+  "workspaceFolder": "/workspaces/windows",
   "initializeCommand": "docker system prune --all --force"
 }