diff --git a/Dockerfile b/Dockerfile index 8b91b6f..a449de3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,8 +43,8 @@ RUN set -euo pipefail; zypper -n in --no-recommends mariadb mariadb-tools gawk t ENTRYPOINT ["docker-entrypoint.sh"] CMD ["mariadbd"] EXPOSE 3306 -# sanity check that the version from the tag is equal to the version that we expect -RUN set -euo pipefail; [[ $(rpm -q --qf "%{version}" mariadb-client | cut -d "." -f -2) = "11.2" ]] +# sanity check that the version from the tag is equal to the version of mariadb-client that we expect +RUN set -euo pipefail; [ "$(rpm -q --qf '%{version}' mariadb-client | cut -d '.' -f -2)" = "11.2" ] RUN set -euo pipefail; mkdir /docker-entrypoint-initdb.d diff --git a/mariadb-image.changes b/mariadb-image.changes index 2c5f5a5..7c81d4c 100644 --- a/mariadb-image.changes +++ b/mariadb-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 5 12:47:13 UTC 2024 - Dan Čermák + +- Avoid bashism version check + ------------------------------------------------------------------- Tue Jun 4 12:35:15 UTC 2024 - Alexandre Vicenzi