diff --git a/Dockerfile b/Dockerfile index d64d33e..f4e2cb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,8 @@ FROM opensuse/tumbleweed:latest +RUN set -euo pipefail; zypper -n in --no-recommends prometheus-blackbox_exporter curl; 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.blackbox_exporter LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)" @@ -39,8 +41,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/blackbox_exporter-image/README.md" - -RUN set -euo pipefail; zypper -n in --no-recommends prometheus-blackbox_exporter curl; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENTRYPOINT ["/usr/bin/blackbox_exporter"] CMD ["--config.file=/etc/prometheus/blackbox.yml"] EXPOSE 9115 diff --git a/blackbox_exporter-image.changes b/blackbox_exporter-image.changes index a22bdfb..d7eda5e 100644 --- a/blackbox_exporter-image.changes +++ b/blackbox_exporter-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