[info=39ff09211aed97353caaedfebb197a83]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/blackbox_exporter-image?expand=0&rev=1
This commit is contained in:
Dan Čermák 2022-11-23 09:32:10 +00:00 committed by Git OBS Bridge
commit 1030ea0ea2
5 changed files with 64 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

26
Dockerfile Normal file
View File

@ -0,0 +1,26 @@
# SPDX-License-Identifier: MIT
#!BuildTag: opensuse/blackbox_exporter:%%blackbox_exporter_version%%
#!BuildTag: opensuse/blackbox_exporter:latest
#!BuildTag: opensuse/blackbox_exporter:%%blackbox_exporter_version%%-%RELEASE%
FROM opensuse/tumbleweed:latest
MAINTAINER openSUSE (https://www.opensuse.org/)
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.application.blackbox_exporter
LABEL org.opencontainers.image.title="openSUSE Tumbleweed Blackbox Exporter Container Image"
LABEL org.opencontainers.image.description="Blackbox Exporter based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="%%blackbox_exporter_version%%"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/blackbox_exporter:%%blackbox_exporter_version%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.release-stage="released"
# endlabelprefix
RUN set -euo pipefail; zypper -n in --no-recommends prometheus-blackbox_exporter; zypper -n clean; rm -rf /var/log/*
ENTRYPOINT ["/usr/bin/blackbox_exporter"]
EXPOSE 9115

10
_service Normal file
View File

@ -0,0 +1,10 @@
<services>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service mode="buildtime" name="docker_label_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%blackbox_exporter_version%%</param>
<param name="package">prometheus-blackbox_exporter</param>
<param name="parse-version">patch</param>
</service>
</services>

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Nov 11 10:42:33 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
- Initial Blackbox exporter container image