mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
Compare commits
No commits in common. "e945e852dc090b58885bab6a12f25fd219bad5a7" and "b308de3472828bc6f51da0156c22cf83bc8f709e" have entirely different histories.
e945e852dc
...
b308de3472
5 changed files with 15 additions and 38 deletions
2
.github/workflows/hub.yml
vendored
2
.github/workflows/hub.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
-
|
-
|
||||||
name: Docker Hub Description
|
name: Docker Hub Description
|
||||||
uses: peter-evans/dockerhub-description@v5
|
uses: peter-evans/dockerhub-description@v4
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ARG VERSION_ARG="latest"
|
ARG VERSION_ARG="latest"
|
||||||
FROM scratch AS build-amd64
|
FROM scratch AS build-amd64
|
||||||
|
|
||||||
COPY --from=qemux/qemu:7.19 / /
|
COPY --from=qemux/qemu:7.18 / /
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG DEBCONF_NOWARNINGS="yes"
|
ARG DEBCONF_NOWARNINGS="yes"
|
||||||
|
|
|
||||||
|
|
@ -93,9 +93,9 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
|
||||||
|
|
||||||
| **Value** | **Version** | **Size** |
|
| **Value** | **Version** | **Size** |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `11` | Windows 11 Pro | 7.2 GB |
|
| `11` | Windows 11 Pro | 5.4 GB |
|
||||||
| `11l` | Windows 11 LTSC | 4.7 GB |
|
| `11l` | Windows 11 LTSC | 4.7 GB |
|
||||||
| `11e` | Windows 11 Enterprise | 6.6 GB |
|
| `11e` | Windows 11 Enterprise | 5.3 GB |
|
||||||
||||
|
||||
|
||||||
| `10` | Windows 10 Pro | 5.7 GB |
|
| `10` | Windows 10 Pro | 5.7 GB |
|
||||||
| `10l` | Windows 10 LTSC | 4.6 GB |
|
| `10l` | Windows 10 LTSC | 4.6 GB |
|
||||||
|
|
|
||||||
|
|
@ -722,14 +722,14 @@ getMido() {
|
||||||
|
|
||||||
case "${id,,}" in
|
case "${id,,}" in
|
||||||
"win11x64" )
|
"win11x64" )
|
||||||
size=7736125440
|
size=5819484160
|
||||||
sum="d141f6030fed50f75e2b03e1eb2e53646c4b21e5386047cb860af5223f102a32"
|
sum="b56b911bf18a2ceaeb3904d87e7c770bdf92d3099599d61ac2497b91bf190b11"
|
||||||
url="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26200.6584.250915-1905.25h2_ge_release_svc_refresh_CLIENT_CONSUMER_x64FRE_en-us.iso"
|
url="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26200.6584.250915-1905.25h2_ge_release_svc_refresh_CLIENT_CONSUMER_x64FRE_en-us.iso"
|
||||||
;;
|
;;
|
||||||
"win11x64-enterprise-eval" )
|
"win11x64-enterprise-eval" )
|
||||||
size=7092807680
|
size=5387960320
|
||||||
sum="a61adeab895ef5a4db436e0a7011c92a2ff17bb0357f58b13bbc4062e535e7b9"
|
sum="755a90d43e826a74b9e1932a34788b898e028272439b777e5593dee8d53622ae"
|
||||||
url="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26200.6584.250915-1905.25h2_ge_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso"
|
url="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26100.1.240331-1435.ge_release_CLIENTENTERPRISEEVAL_OEMRET_A64FRE_en-us.iso"
|
||||||
;;
|
;;
|
||||||
"win11x64-enterprise-iot-eval" | "win11x64-enterprise-ltsc-eval" )
|
"win11x64-enterprise-iot-eval" | "win11x64-enterprise-ltsc-eval" )
|
||||||
size=5060020224
|
size=5060020224
|
||||||
|
|
|
||||||
33
src/mido.sh
33
src/mido.sh
|
|
@ -171,8 +171,6 @@ download_windows() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
|
|
||||||
|
|
||||||
MIDO_URL="$iso_download_link"
|
MIDO_URL="$iso_download_link"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
@ -184,7 +182,6 @@ download_windows_eval() {
|
||||||
local desc="$3"
|
local desc="$3"
|
||||||
local filter=""
|
local filter=""
|
||||||
local culture=""
|
local culture=""
|
||||||
local compare=""
|
|
||||||
local language=""
|
local language=""
|
||||||
local user_agent=""
|
local user_agent=""
|
||||||
local enterprise_type=""
|
local enterprise_type=""
|
||||||
|
|
@ -277,6 +274,8 @@ download_windows_eval() {
|
||||||
fi ;;
|
fi ;;
|
||||||
"arm64" )
|
"arm64" )
|
||||||
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;;
|
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;;
|
||||||
|
* )
|
||||||
|
error "Invalid platform specified, value \"$PLATFORM\" is not recognized!" && return 1 ;;
|
||||||
esac ;;
|
esac ;;
|
||||||
"enterprise" )
|
"enterprise" )
|
||||||
case "${PLATFORM,,}" in
|
case "${PLATFORM,,}" in
|
||||||
|
|
@ -288,16 +287,16 @@ download_windows_eval() {
|
||||||
fi ;;
|
fi ;;
|
||||||
"arm64" )
|
"arm64" )
|
||||||
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;;
|
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1) ;;
|
||||||
|
* )
|
||||||
|
error "Invalid platform specified, value \"$PLATFORM\" is not recognized!" && return 1 ;;
|
||||||
esac ;;
|
esac ;;
|
||||||
"server" )
|
"server" )
|
||||||
case "${PLATFORM,,}" in
|
|
||||||
"x64" )
|
|
||||||
iso_download_link=$(echo "$iso_download_links" | head -n 1) ;;
|
iso_download_link=$(echo "$iso_download_links" | head -n 1) ;;
|
||||||
esac ;;
|
|
||||||
* )
|
* )
|
||||||
error "Invalid type specified, value \"$enterprise_type\" is not recognized!" && return 1 ;;
|
error "Invalid type specified, value \"$enterprise_type\" is not recognized!" && return 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
|
||||||
[ -z "$iso_download_link" ] && error "Could not parse download link from page!" && return 1
|
[ -z "$iso_download_link" ] && error "Could not parse download link from page!" && return 1
|
||||||
|
|
||||||
# Follow redirect so proceeding log message is useful
|
# Follow redirect so proceeding log message is useful
|
||||||
|
|
@ -309,28 +308,6 @@ download_windows_eval() {
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
|
|
||||||
|
|
||||||
case "${PLATFORM,,}" in
|
|
||||||
"x64" )
|
|
||||||
if [[ "${iso_download_link,,}" != *"x64"* ]]; then
|
|
||||||
error "Download link is for the wrong platform? Please report this at $SUPPORT/issues"
|
|
||||||
return 1
|
|
||||||
fi ;;
|
|
||||||
"arm64" )
|
|
||||||
if [[ "${iso_download_link,,}" != *"a64"* && "${iso_download_link,,}" != *"arm64"* ]]; then
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && echo "Link for ARM platform currently not available!"
|
|
||||||
return 1
|
|
||||||
fi ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ "$DEBUG" == [Yy1]* && "$VERIFY" == [Yy1]* && "${lang,,}" == "en"* ]]; then
|
|
||||||
compare=$(getMido "$id" "$lang" "")
|
|
||||||
if [[ "${iso_download_link,,}" != "${compare,,}" ]]; then
|
|
||||||
echo "Retrieved link does not match the fixed link: $compare"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
MIDO_URL="$iso_download_link"
|
MIDO_URL="$iso_download_link"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue