mirror of
https://github.com/docker-library/php.git
synced 2025-07-24 12:19:38 +00:00
Drop md5 checksums
This commit is contained in:
11
versions.sh
11
versions.sh
@ -52,8 +52,7 @@ for version in "${versions[@]}"; do
|
||||
|
|
||||
"https://www.php.net/distributions/" + .filename,
|
||||
"https://www.php.net/distributions/" + .filename + ".asc",
|
||||
.sha256 // "",
|
||||
.md5 // ""
|
||||
.sha256 // ""
|
||||
) ]
|
||||
'
|
||||
else
|
||||
@ -65,8 +64,7 @@ for version in "${versions[@]}"; do
|
||||
.version,
|
||||
.files.xz.path // "",
|
||||
"",
|
||||
.files.xz.sha256 // "",
|
||||
.files.xz.md5 // ""
|
||||
.files.xz.sha256 // ""
|
||||
]
|
||||
'
|
||||
fi
|
||||
@ -85,14 +83,13 @@ for version in "${versions[@]}"; do
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# format of "possibles" array entries is "VERSION URL.TAR.XZ URL.TAR.XZ.ASC SHA256 MD5" (each value shell quoted)
|
||||
# format of "possibles" array entries is "VERSION URL.TAR.XZ URL.TAR.XZ.ASC SHA256" (each value shell quoted)
|
||||
# see the "apiJqExpr" values above for more details
|
||||
eval "possi=( ${possibles[0]} )"
|
||||
fullVersion="${possi[0]}"
|
||||
url="${possi[1]}"
|
||||
ascUrl="${possi[2]}"
|
||||
sha256="${possi[3]}"
|
||||
md5="${possi[4]}"
|
||||
|
||||
gpgKey="${gpgKeys[$rcVersion]:-}"
|
||||
if [ -z "$gpgKey" ]; then
|
||||
@ -129,7 +126,7 @@ for version in "${versions[@]}"; do
|
||||
|
||||
echo "$version: $fullVersion"
|
||||
|
||||
export fullVersion url ascUrl sha256 md5 gpgKey
|
||||
export fullVersion url ascUrl sha256 gpgKey
|
||||
json="$(
|
||||
jq <<<"$json" -c \
|
||||
--argjson variants "$variants" \
|
||||
|
Reference in New Issue
Block a user