Hack 11.5/11.6 latest versions without API
This commit is contained in:
parent
0cb4378923
commit
b34b76eb88
@ -36,7 +36,7 @@ COPY MariaDB.repo /etc/yum.repos.d/
|
||||
# https://access.redhat.com/documentation/en-us/red_hat_software_certification/2024/html/red_hat_openshift_software_certification_policy_guide/assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction#con-image-metadata-requirements_openshift-sw-cert-policy-container-images
|
||||
LABEL name="MariaDB Server" \
|
||||
vendor="MariaDB Community" \
|
||||
version="11.5.1" \
|
||||
version="11.5.2" \
|
||||
release="Refer to Annotations org.opencontainers.image.{revision,source}" \
|
||||
summary="MariaDB Database" \
|
||||
description="MariaDB Database for relational SQL"
|
||||
@ -50,11 +50,11 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
|
||||
org.opencontainers.image.licenses="GPL-2.0" \
|
||||
org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
|
||||
org.opencontainers.image.vendor="MariaDB Community" \
|
||||
org.opencontainers.image.version="11.5.1" \
|
||||
org.opencontainers.image.version="11.5.2" \
|
||||
org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
|
||||
|
||||
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x
|
||||
ARG MARIADB_VERSION=11.5.1
|
||||
ARG MARIADB_VERSION=11.5.2
|
||||
ENV MARIADB_VERSION=$MARIADB_VERSION
|
||||
# release-status:Stable
|
||||
# release-support-type:Short Term Support
|
||||
|
@ -224,7 +224,7 @@ docker_create_db_directories() {
|
||||
}
|
||||
|
||||
_mariadb_version() {
|
||||
echo -n "11.5.1-MariaDB"
|
||||
echo -n "11.5.2-MariaDB"
|
||||
}
|
||||
|
||||
# initializes the database directory
|
||||
|
@ -75,18 +75,18 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
|
||||
org.opencontainers.image.licenses="GPL-2.0" \
|
||||
org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
|
||||
org.opencontainers.image.vendor="MariaDB Community" \
|
||||
org.opencontainers.image.version="11.5.1" \
|
||||
org.opencontainers.image.version="11.5.2" \
|
||||
org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
|
||||
|
||||
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x
|
||||
ARG MARIADB_VERSION=1:11.5.1+maria~ubu2404
|
||||
ARG MARIADB_VERSION=1:11.5.2+maria~ubu2404
|
||||
ENV MARIADB_VERSION $MARIADB_VERSION
|
||||
# release-status:Stable
|
||||
# release-support-type:Short Term Support
|
||||
# (https://downloads.mariadb.org/rest-api/mariadb/)
|
||||
|
||||
# Allowing overriding of REPOSITORY, a URL that includes suite and component for testing and Enterprise Versions
|
||||
ARG REPOSITORY="http://archive.mariadb.org/mariadb-11.5.1/repo/ubuntu/ noble main main/debug"
|
||||
ARG REPOSITORY="http://archive.mariadb.org/mariadb-11.5.2/repo/ubuntu/ noble main main/debug"
|
||||
|
||||
RUN set -e;\
|
||||
echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; \
|
||||
|
@ -224,7 +224,7 @@ docker_create_db_directories() {
|
||||
}
|
||||
|
||||
_mariadb_version() {
|
||||
echo -n "11.5.1-MariaDB"
|
||||
echo -n "11.5.2-MariaDB"
|
||||
}
|
||||
|
||||
# initializes the database directory
|
||||
|
@ -36,7 +36,7 @@ COPY MariaDB.repo /etc/yum.repos.d/
|
||||
# https://access.redhat.com/documentation/en-us/red_hat_software_certification/2024/html/red_hat_openshift_software_certification_policy_guide/assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction#con-image-metadata-requirements_openshift-sw-cert-policy-container-images
|
||||
LABEL name="MariaDB Server" \
|
||||
vendor="MariaDB Community" \
|
||||
version="11.6.0" \
|
||||
version="11.6.1" \
|
||||
release="Refer to Annotations org.opencontainers.image.{revision,source}" \
|
||||
summary="MariaDB Database" \
|
||||
description="MariaDB Database for relational SQL"
|
||||
@ -50,11 +50,11 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
|
||||
org.opencontainers.image.licenses="GPL-2.0" \
|
||||
org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
|
||||
org.opencontainers.image.vendor="MariaDB Community" \
|
||||
org.opencontainers.image.version="11.6.0" \
|
||||
org.opencontainers.image.version="11.6.1" \
|
||||
org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
|
||||
|
||||
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x
|
||||
ARG MARIADB_VERSION=11.6.0
|
||||
ARG MARIADB_VERSION=11.6.1
|
||||
ENV MARIADB_VERSION=$MARIADB_VERSION
|
||||
# release-status:RC
|
||||
# release-support-type:Short Term Support
|
||||
|
@ -224,7 +224,7 @@ docker_create_db_directories() {
|
||||
}
|
||||
|
||||
_mariadb_version() {
|
||||
echo -n "11.6.0-MariaDB"
|
||||
echo -n "11.6.1-MariaDB"
|
||||
}
|
||||
|
||||
# initializes the database directory
|
||||
|
@ -75,18 +75,18 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
|
||||
org.opencontainers.image.licenses="GPL-2.0" \
|
||||
org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
|
||||
org.opencontainers.image.vendor="MariaDB Community" \
|
||||
org.opencontainers.image.version="11.6.0" \
|
||||
org.opencontainers.image.version="11.6.1" \
|
||||
org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
|
||||
|
||||
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x
|
||||
ARG MARIADB_VERSION=1:11.6.0+maria~ubu2404
|
||||
ARG MARIADB_VERSION=1:11.6.1+maria~ubu2404
|
||||
ENV MARIADB_VERSION $MARIADB_VERSION
|
||||
# release-status:RC
|
||||
# release-support-type:Short Term Support
|
||||
# (https://downloads.mariadb.org/rest-api/mariadb/)
|
||||
|
||||
# Allowing overriding of REPOSITORY, a URL that includes suite and component for testing and Enterprise Versions
|
||||
ARG REPOSITORY="http://archive.mariadb.org/mariadb-11.6.0/repo/ubuntu/ noble main main/debug"
|
||||
ARG REPOSITORY="http://archive.mariadb.org/mariadb-11.6.1/repo/ubuntu/ noble main main/debug"
|
||||
|
||||
RUN set -e;\
|
||||
echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; \
|
||||
|
@ -224,7 +224,7 @@ docker_create_db_directories() {
|
||||
}
|
||||
|
||||
_mariadb_version() {
|
||||
echo -n "11.6.0-MariaDB"
|
||||
echo -n "11.6.1-MariaDB"
|
||||
}
|
||||
|
||||
# initializes the database directory
|
||||
|
11
update.sh
11
update.sh
@ -240,7 +240,16 @@ for version in "${versions[@]}"; do
|
||||
if [ ! -d "$version" ]; then
|
||||
version=${version%.[[:digit:]]*}
|
||||
else
|
||||
mariaversion
|
||||
case "$version" in
|
||||
11.5*)
|
||||
mariaVersion=11.5.2
|
||||
;;
|
||||
11.6*)
|
||||
mariaVersion=11.6.1
|
||||
;;
|
||||
*)
|
||||
mariaversion
|
||||
esac
|
||||
fi
|
||||
readarray -t release <<< "$(curl -fsSL "$DOWNLOADS_REST_API/mariadb/" \
|
||||
| jq -r --arg version "${version%-*}" '.major_releases[] | select(.release_id == $version) | [ .release_status ] , [ .release_support_type ] | @tsv')"
|
||||
|
@ -113,8 +113,8 @@
|
||||
},
|
||||
"11.5": {
|
||||
"milestone": "11.5",
|
||||
"version": "11.5.1",
|
||||
"fullVersion": "1:11.5.1+maria~ubu2404",
|
||||
"version": "11.5.2",
|
||||
"fullVersion": "1:11.5.2+maria~ubu2404",
|
||||
"releaseStatus": "Stable",
|
||||
"supportType": "Short Term Support",
|
||||
"base": "ubuntu:noble",
|
||||
@ -127,8 +127,8 @@
|
||||
},
|
||||
"11.5-ubi": {
|
||||
"milestone": "11.5",
|
||||
"version": "11.5.1",
|
||||
"fullVersion": "11.5.1",
|
||||
"version": "11.5.2",
|
||||
"fullVersion": "11.5.2",
|
||||
"releaseStatus": "Stable",
|
||||
"supportType": "Short Term Support",
|
||||
"base": "ubi9",
|
||||
@ -141,8 +141,8 @@
|
||||
},
|
||||
"11.6": {
|
||||
"milestone": "11.6",
|
||||
"version": "11.6.0",
|
||||
"fullVersion": "1:11.6.0+maria~ubu2404",
|
||||
"version": "11.6.1",
|
||||
"fullVersion": "1:11.6.1+maria~ubu2404",
|
||||
"releaseStatus": "RC",
|
||||
"supportType": "Short Term Support",
|
||||
"base": "ubuntu:noble",
|
||||
@ -155,8 +155,8 @@
|
||||
},
|
||||
"11.6-ubi": {
|
||||
"milestone": "11.6",
|
||||
"version": "11.6.0",
|
||||
"fullVersion": "11.6.0",
|
||||
"version": "11.6.1",
|
||||
"fullVersion": "11.6.1",
|
||||
"releaseStatus": "RC",
|
||||
"supportType": "Short Term Support",
|
||||
"base": "ubi9",
|
||||
|
Loading…
x
Reference in New Issue
Block a user