diff --git a/ci_build_images/opensuse.Dockerfile b/ci_build_images/opensuse.Dockerfile index 91efea6e..96327d35 100644 --- a/ci_build_images/opensuse.Dockerfile +++ b/ci_build_images/opensuse.Dockerfile @@ -13,7 +13,7 @@ COPY --chmod=755 mariadb_zypper_expect / RUN zypper update -y \ && zypper install -y -t pattern devel_basis \ && source /etc/os-release \ - && VERSION_ID=${VERSION_ID%%.*} \ + && VERSION_ID=${VERSION_ID/./0} \ && ARCH=$(rpm --query --queryformat='%{ARCH}' zypper) \ && if [ "$ARCH" = x86_64 ]; then ARCH=amd64 ; fi \ && zypper addrepo https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-"${ARCH}-${ID%%-leap}-${VERSION_ID}".repo \