mirror of
https://github.com/dockur/windows.git
synced 2025-10-26 01:52:50 +00:00
Compare commits
5 Commits
42a149d7b9
...
6f84823117
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f84823117 | ||
|
|
c997bf7765 | ||
|
|
c6a8c0b702 | ||
|
|
f1ea8ee227 | ||
|
|
0ab3198ded |
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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
.devcontainer/080 - Windows Vista Ultimate/devcontainer.json
Normal file
18
.devcontainer/080 - Windows Vista Ultimate/devcontainer.json
Normal file
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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": {
|
||||
@ -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
.devcontainer/210 - Tiny10/devcontainer.json
Normal file
21
.devcontainer/210 - Tiny10/devcontainer.json
Normal file
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -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:
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -1,4 +1,5 @@
|
||||
.dockerignore
|
||||
.devcontainer
|
||||
.git
|
||||
.github
|
||||
.gitignore
|
||||
|
||||
26
.github/workflows/check.yml
vendored
26
.github/workflows/check.yml
vendored
@ -7,19 +7,29 @@ jobs:
|
||||
name: shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Run ShellCheck
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
-
|
||||
name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
env:
|
||||
SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
|
||||
- name: Validate XML
|
||||
uses: action-pack/valid-xml@v1
|
||||
with:
|
||||
path: "assets"
|
||||
file-endings: ".xml"
|
||||
- name: Lint Dockerfile
|
||||
-
|
||||
name: Lint Dockerfile
|
||||
uses: hadolint/hadolint-action@v3.3.0
|
||||
with:
|
||||
dockerfile: Dockerfile
|
||||
ignore: DL3006,DL3008
|
||||
failure-threshold: warning
|
||||
-
|
||||
name: Validate XML
|
||||
uses: action-pack/valid-xml@v1
|
||||
with:
|
||||
path: "assets"
|
||||
file-endings: ".xml"
|
||||
-
|
||||
name: Validate JSON and YML files
|
||||
uses: GrantBirki/json-yaml-validate@v4
|
||||
with:
|
||||
yaml_exclude_regex: ".*\\kubernetes\\.yml$"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
ARG VERSION_ARG="latest"
|
||||
FROM scratch AS build-amd64
|
||||
|
||||
COPY --from=qemux/qemu:7.24 / /
|
||||
COPY --from=qemux/qemu:7.25 / /
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG DEBCONF_NOWARNINGS="yes"
|
||||
@ -27,7 +27,7 @@ RUN set -eu && \
|
||||
COPY --chmod=755 ./src /run/
|
||||
COPY --chmod=755 ./assets /run/assets
|
||||
|
||||
ADD --chmod=664 https://github.com/qemus/virtiso-whql/releases/download/v1.9.47-0/virtio-win-1.9.47.tar.xz /var/drivers.txz
|
||||
ADD --chmod=664 https://github.com/qemus/virtiso-whql/releases/download/v1.9.48-0/virtio-win-1.9.48.tar.xz /var/drivers.txz
|
||||
|
||||
FROM dockurr/windows-arm:${VERSION_ARG} AS build-arm64
|
||||
FROM build-${TARGETARCH}
|
||||
|
||||
@ -22,7 +22,9 @@ cd /run
|
||||
. boot.sh # Configure boot
|
||||
. proc.sh # Initialize processor
|
||||
. power.sh # Configure shutdown
|
||||
. memory.sh # Check available memory
|
||||
. config.sh # Configure arguments
|
||||
. finish.sh # Finish initialization
|
||||
|
||||
trap - ERR
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user