forked from pool/pcp-image
Compare commits
71 Commits
Author | SHA256 | Date | |
---|---|---|---|
39da3c55ef | |||
82c07f89ff | |||
50ee5c3041 | |||
f91f666c2a | |||
643d426ae6 | |||
73029167a1 | |||
0fce750c83 | |||
6ab919e83d | |||
ef94568a3e | |||
2c6d132aa4 | |||
35652409ec | |||
92942f667c | |||
0fc13d1ae3 | |||
52aa312dbf | |||
bcaa840f87 | |||
a48ee96807 | |||
fee714880d | |||
f9ddd80c2e | |||
7d0e456b8a | |||
093c4873e5 | |||
7b81d2bd13 | |||
e9502a4d86 | |||
6cada3ae12 | |||
1c2a3630a4 | |||
4e1a95f7bc | |||
a652eac93c | |||
1be4c26ab9 | |||
e0d339506b | |||
b840eb297a | |||
1455b4c609 | |||
cde7ba0985 | |||
0b645d7a86 | |||
f6a8ec4955 | |||
c4bb8b57d6 | |||
ff1a21fe7b | |||
2aa1978fe8 | |||
e19b1d6df5 | |||
16c3e28d68 | |||
76ecfa293e | |||
b81f1c6998 | |||
67ae78b52e | |||
cfbfb54455 | |||
1b6377782d | |||
96bf91767e | |||
5f1120249f | |||
3ef1abd4a1 | |||
5d6c560a8d | |||
004664cb5b | |||
00f807338e | |||
bf35308c4a | |||
9626ed9403 | |||
bee1de395c | |||
25ead6dfbc | |||
b7eacd1223 | |||
1ad7a9138b | |||
30714f8892 | |||
25067f1f2c | |||
1cc5397a78 | |||
be64b895e6 | |||
49bad31753 | |||
7738dde864 | |||
4b347e4dea | |||
58bc913763 | |||
ff5ce6b71b | |||
28fe94d382 | |||
f8613d44b4 | |||
484d494b4a | |||
8aa2476867 | |||
|
eb8261143f | ||
|
8733532709 | ||
a4525ed816 |
15
Dockerfile
15
Dockerfile
@@ -1,6 +1,6 @@
|
|||||||
# SPDX-License-Identifier: (LGPL-2.1+ AND GPL-2.0+)
|
# SPDX-License-Identifier: (LGPL-2.1+ AND GPL-2.0+)
|
||||||
|
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -13,22 +13,23 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
|
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
|
||||||
|
|
||||||
|
#!UseOBSRepositories
|
||||||
|
|
||||||
#!BuildTag: opensuse/pcp:6.2.1
|
|
||||||
#!BuildTag: opensuse/pcp:6.2.1-%RELEASE%
|
#!BuildTag: opensuse/pcp:6.2.1-%RELEASE%
|
||||||
|
#!BuildTag: opensuse/pcp:6.2.1
|
||||||
#!BuildTag: opensuse/pcp:6.2
|
#!BuildTag: opensuse/pcp:6.2
|
||||||
#!BuildTag: opensuse/pcp:6.2-%RELEASE%
|
|
||||||
#!BuildTag: opensuse/pcp:6
|
#!BuildTag: opensuse/pcp:6
|
||||||
#!BuildTag: opensuse/pcp:6-%RELEASE%
|
|
||||||
#!BuildTag: opensuse/pcp:latest
|
#!BuildTag: opensuse/pcp:latest
|
||||||
|
|
||||||
FROM opensuse/bci/bci-init:latest
|
FROM opensuse/bci/bci-init:latest
|
||||||
|
|
||||||
RUN set -euo pipefail; zypper -n in --no-recommends pcp hostname procps shadow envsubst util-linux-systemd; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
|
RUN set -euo pipefail; \
|
||||||
|
zypper -n install --no-recommends pcp hostname procps shadow envsubst util-linux-systemd; \
|
||||||
|
zypper -n clean; \
|
||||||
|
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
|
||||||
|
|
||||||
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
||||||
# labelprefix=org.opensuse.application.pcp
|
# labelprefix=org.opensuse.application.pcp
|
||||||
LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)"
|
|
||||||
LABEL org.opencontainers.image.title="openSUSE Tumbleweed Performance Co-Pilot (pcp)"
|
LABEL org.opencontainers.image.title="openSUSE Tumbleweed Performance Co-Pilot (pcp)"
|
||||||
LABEL org.opencontainers.image.description="Performance Co-Pilot (pcp) container based on the openSUSE Tumbleweed Base Container Image. This container is only supported with podman."
|
LABEL org.opencontainers.image.description="Performance Co-Pilot (pcp) container based on the openSUSE Tumbleweed Base Container Image. This container is only supported with podman."
|
||||||
LABEL org.opencontainers.image.version="6.2.1"
|
LABEL org.opencontainers.image.version="6.2.1"
|
||||||
@@ -45,7 +46,7 @@ LABEL org.opensuse.release-stage="released"
|
|||||||
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/pcp-image/README.md"
|
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/pcp-image/README.md"
|
||||||
ENTRYPOINT ["/usr/local/bin/container-entrypoint"]
|
ENTRYPOINT ["/usr/local/bin/container-entrypoint"]
|
||||||
CMD ["/usr/lib/systemd/systemd"]
|
CMD ["/usr/lib/systemd/systemd"]
|
||||||
EXPOSE 44321 44322 44323
|
EXPOSE 44321/tcp 44322/tcp 44323/tcp
|
||||||
|
|
||||||
RUN set -euo pipefail; mkdir -p /usr/share/container-scripts/pcp; mkdir -p /etc/sysconfig
|
RUN set -euo pipefail; mkdir -p /usr/share/container-scripts/pcp; mkdir -p /etc/sysconfig
|
||||||
COPY container-entrypoint healthcheck /usr/local/bin/
|
COPY container-entrypoint healthcheck /usr/local/bin/
|
||||||
|
4
_service
4
_service
@@ -1,13 +1,13 @@
|
|||||||
<services>
|
<services>
|
||||||
<service mode="buildtime" name="docker_label_helper"/>
|
<service mode="buildtime" name="docker_label_helper"/>
|
||||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||||
<service name="replace_using_package_version" mode="buildtime">
|
<service mode="buildtime" name="replace_using_package_version">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%pcp_major%%</param>
|
<param name="regex">%%pcp_major%%</param>
|
||||||
<param name="package">pcp</param>
|
<param name="package">pcp</param>
|
||||||
<param name="parse-version">major</param>
|
<param name="parse-version">major</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="replace_using_package_version" mode="buildtime">
|
<service mode="buildtime" name="replace_using_package_version">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%pcp_minor%%</param>
|
<param name="regex">%%pcp_minor%%</param>
|
||||||
<param name="package">pcp</param>
|
<param name="package">pcp</param>
|
||||||
|
@@ -1,3 +1,53 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 1 14:13:48 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- update copyright year
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 3 13:26:37 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- Change attribute order in _service
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 25 07:33:17 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- Fix spelling mistakes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 18:28:27 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- be explicit in protocol for expose statement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 15:34:45 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- remove nonsensical org.opencontainers.image.authors - duplication of .vendor
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 11 15:12:52 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- make the tag with -%RELEASE% the first tag listed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 25 17:36:16 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- rerender installation step in multiple lines, allow uninstalling optional packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 25 17:12:11 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- improved log cleaning
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 24 20:00:32 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- remove release tags for additional_versions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 12 10:37:22 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- set useobsrepositories explicitly
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 14 12:30:32 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
Wed Aug 14 12:30:32 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -42,7 +42,7 @@ secure.enabled = true
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
[discover]
|
[discover]
|
||||||
|
|
||||||
# propogate archives from pmlogger(1) into Redis querying
|
# propagate archives from pmlogger(1) into Redis querying
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
# comma-separated metrics name (globs) to skip during discovery
|
# comma-separated metrics name (globs) to skip during discovery
|
||||||
@@ -63,7 +63,7 @@ enabled = true
|
|||||||
count = 10
|
count = 10
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
## settings for fast, scalable time series quering via Redis
|
## settings for fast, scalable time series querying via Redis
|
||||||
[pmseries]
|
[pmseries]
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user