Skip to content

Commit bdcdc1c

Browse files
committed
Merge branch 'master' into latest
2 parents 0cc5e40 + 8245923 commit bdcdc1c

File tree

5 files changed

+13
-27
lines changed

5 files changed

+13
-27
lines changed

.screenrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

Dockerfile.omd-labs-debian

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM debian:11
2-
MAINTAINER Sven Nierlein<sven.nierlein@consol.de>
1+
FROM debian:12
2+
LABEL org.opencontainers.image.authors="sven.nierlein@consol.de"
3+
LABEL org.opencontainers.image.source="https://github.com/ConSol-Monitoring/omd-labs-docker"
34
EXPOSE 80 443 22 4730 5666
45

5-
ENV REFRESHED 20221129
6+
ENV REFRESHED=20240816
67

78
#### user environment ######################################
89
ENV HOME=/root
910
WORKDIR $HOME
1011
ADD ./scripts/start.sh $HOME
1112
RUN chmod +x $HOME/start.sh
12-
ADD .screenrc $HOME
1313

1414
### OMD installation ######################################
1515
ARG OMD_VERSION
@@ -39,7 +39,7 @@ ARG SITENAME=demo
3939
ENV SITENAME=$SITENAME
4040
RUN echo "export SITENAME=$SITENAME" > .sitename.env
4141
RUN sed -i 's|echo "on"$|echo "off"|' /opt/omd/versions/default/lib/omd/hooks/TMPFS
42-
RUN echo "create OMD site: $SITENAME" && omd create -u 1000 -g 1000 $SITENAME || true
42+
RUN echo "create OMD site: $SITENAME" && omd create -u 1000 -g 1000 $SITENAME
4343

4444
# -- ONBUILD
4545
# when used as a base image, this instructions trigger the creation of another site if NEW_SITENAME is not `demo`

Dockerfile.omd-labs-rocky

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
FROM rockylinux:9
2-
MAINTAINER Sven Nierlein<sven.nierlein@consol.de>
2+
LABEL org.opencontainers.image.authors="sven.nierlein@consol.de"
3+
LABEL org.opencontainers.image.source="https://github.com/ConSol-Monitoring/omd-labs-docker"
34
EXPOSE 80 443 22 4730 5666
45

5-
ENV REFRESHED 20221129
6+
ENV REFRESHED=20240809
67

78
#### user environment ######################################
89
ENV HOME=/root
910
WORKDIR $HOME
1011
ADD ./scripts/start.sh $HOME
1112
RUN chmod +x $HOME/start.sh
12-
ADD .screenrc $HOME
1313

1414
### OMD installation ######################################
1515
ARG OMD_VERSION
@@ -39,7 +39,7 @@ ARG SITENAME=demo
3939
ENV SITENAME=$SITENAME
4040
RUN echo "export SITENAME=$SITENAME" > .sitename.env
4141
RUN sed -i 's|echo "on"$|echo "off"|' /opt/omd/versions/default/lib/omd/hooks/TMPFS
42-
RUN echo "create OMD site: $SITENAME" && omd create -u 1000 -g 1000 $SITENAME || true
42+
RUN echo "create OMD site: $SITENAME" && omd create -u 1000 -g 1000 $SITENAME
4343

4444
# -- ONBUILD
4545
# when used as a base image, this instructions trigger the creation of another site if NEW_SITENAME is not `demo`

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# omd-labs-docker
22

3-
OMD "Labs" Edition (https://labs.consol.de/de/omd/) on Docker with Ansible support.
3+
OMD "Labs" Edition (https://omd.consol.de/docs/omd/) on Docker with Ansible support.
44

55
Author: Sven Nierlein, *sven.nierlein at consol.de*
66

77
Original Author: Simon Meggle
88

9+
- https://omd.consol.de/docs/omd/
10+
- https://github.com/ConSol-Monitoring/omd-labs-docker
11+
912
## Automated builds, branches & tags
1013

1114
Each image build gets triggered by the OMD Labs build system as soon as there are new packages of OMD available:

ansible_dropin/playbook.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,3 @@
66
- name: "DEBUG"
77
debug:
88
msg: "Nothing defined yet. Use this playbook to adapt the container/OMD site {{ SITENAME }} at runtime."
9-
10-
# - name: configure Sakuli extension
11-
# become: yes
12-
# become_user: "{{ SITENAME }}"
13-
# become_method: "su"
14-
# become_flags: "-"
15-
# command: make "{{ item }}"
16-
# with_items:
17-
# - "gearman"
18-
# - "grafana"
19-
# - "screenshot_history"
20-
# args:
21-
# chdir: "$OMD_ROOT/share/sakuli/setup"

0 commit comments

Comments
 (0)