Skip to content

Commit b156f20

Browse files
committed
add fedora 43 test container
1 parent 4ded8a7 commit b156f20

3 files changed

Lines changed: 33 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,28 @@ services:
2525
# already updated part of plugin
2626
- ${PWD}/mkp/local/lib/python3/cmk_addons/plugins/yum:/omd/sites/cmk/local/lib/python3/cmk_addons/plugins/yum
2727

28-
client:
28+
client-rocky-8:
2929
# client for testing, can be added in web GUI
30-
image: checkmk-client
30+
image: checkmk-client-rocky-8
3131
build:
3232
context: dockerfiles/client
33+
dockerfile: Dockerfile_rocky-8
34+
restart: unless-stopped
35+
environment:
36+
# check_mk_agent needs to know where to store its state
37+
MK_VARDIR: /var/lib/check_mk_agent
38+
post_start:
39+
# check_mk_agent requires executable plugins
40+
- command: /usr/bin/chmod -R +x /usr/lib/check_mk_agent/plugins
41+
volumes:
42+
- ${PWD}/mkp/local/share/check_mk/agents/plugins:/usr/lib/check_mk_agent/plugins
43+
44+
client-fedora-43:
45+
# client for testing, can be added in web GUI
46+
image: checkmk-client-fedora-43
47+
build:
48+
context: dockerfiles/client
49+
dockerfile: Dockerfile_fedora-43
3350
restart: unless-stopped
3451
environment:
3552
# check_mk_agent needs to know where to store its state
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM fedora:43
2+
3+
COPY check-mk-agent*.rpm /tmp/
4+
5+
RUN dnf -y install iproute \
6+
lsof \
7+
procps-ng
8+
RUN dnf -y install /tmp/*.rpm && \
9+
rm -f /tmp/check-mk-agent*.rpm
10+
11+
#COPY check-mk-agent /etc/xinetd.d/check-mk-agent
12+
13+
EXPOSE 6556/tcp
14+
#CMD ["xinetd", "-dontfork", "-stayalive", "-pidfile", "/var/run/xinetd.pid"]

0 commit comments

Comments
 (0)