From a63a074a557398433be7155ba09cc3860aee568d89e6e21b160fabd5d7f66c9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 14 Aug 2024 12:37:10 +0000 Subject: [PATCH] [info=1db31dd08b58fa3609029172783f6237] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/mariadb-client-image?expand=0&rev=108 --- Dockerfile | 4 ++-- mariadb-client-image.changes | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4dcca0f..8627975 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ FROM opensuse/tumbleweed:latest +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} + # Define labels according to https://en.opensuse.org/Building_derived_containers # labelprefix=org.opensuse.application.mariadb-client LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)" @@ -37,8 +39,6 @@ LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI" 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 of mariadb-client that we expect RUN set -euo pipefail; [ "$(rpm -q --qf '%{version}' mariadb-client | cut -d '.' -f -2)" = "11.4" ] diff --git a/mariadb-client-image.changes b/mariadb-client-image.changes index 0a866e0..78b998a 100644 --- a/mariadb-client-image.changes +++ b/mariadb-client-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 14 12:30:32 UTC 2024 - Dirk Mueller + +- install packages first + ------------------------------------------------------------------- Thu Aug 8 19:28:10 UTC 2024 - Dirk Mueller