diff --git a/Dockerfile b/Dockerfile index 8b91b6f..476e0d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,20 +31,19 @@ LABEL org.opencontainers.image.url="https://www.opensuse.org" LABEL org.opencontainers.image.created="%BUILDTIME%" LABEL org.opencontainers.image.vendor="openSUSE Project" LABEL org.opencontainers.image.source="%SOURCEURL%" -LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/mariadb-image/README.md" LABEL org.opensuse.reference="registry.opensuse.org/opensuse/mariadb:11.2-%RELEASE%" LABEL org.openbuildservice.disturl="%DISTURL%" LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime" LABEL org.opensuse.release-stage="released" - # endlabelprefix +LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/mariadb-image/README.md" RUN set -euo pipefail; zypper -n in --no-recommends mariadb mariadb-tools gawk timezone util-linux findutils; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} 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..8ba613e 100644 --- a/mariadb-image.changes +++ b/mariadb-image.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Jun 5 15:13:27 UTC 2024 - Dirk Mueller + +- Don't add artifacthub labels into labelprefix section + +------------------------------------------------------------------- +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