diff --git a/Dockerfile b/Dockerfile index d295810..1ef4b34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,15 +31,14 @@ 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-client-image/README.md" LABEL org.opensuse.reference="registry.opensuse.org/opensuse/mariadb-client: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-client-image/README.md" RUN set -euo pipefail; zypper -n in --no-recommends mariadb-client; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} CMD ["mariadb"] -# 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" ] diff --git a/mariadb-client-image.changes b/mariadb-client-image.changes index 7e9a0f4..431a875 100644 --- a/mariadb-client-image.changes +++ b/mariadb-client-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