File tree Expand file tree Collapse file tree 5 files changed +13
-27
lines changed
Expand file tree Collapse file tree 5 files changed +13
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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"
34EXPOSE 80 443 22 4730 5666
45
5- ENV REFRESHED 20221129
6+ ENV REFRESHED=20240816
67
78#### user environment ######################################
89ENV HOME=/root
910WORKDIR $HOME
1011ADD ./scripts/start.sh $HOME
1112RUN chmod +x $HOME/start.sh
12- ADD .screenrc $HOME
1313
1414### OMD installation ######################################
1515ARG OMD_VERSION
@@ -39,7 +39,7 @@ ARG SITENAME=demo
3939ENV SITENAME=$SITENAME
4040RUN echo "export SITENAME=$SITENAME" > .sitename.env
4141RUN 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`
Original file line number Diff line number Diff line change 11FROM 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"
34EXPOSE 80 443 22 4730 5666
45
5- ENV REFRESHED 20221129
6+ ENV REFRESHED=20240809
67
78#### user environment ######################################
89ENV HOME=/root
910WORKDIR $HOME
1011ADD ./scripts/start.sh $HOME
1112RUN chmod +x $HOME/start.sh
12- ADD .screenrc $HOME
1313
1414### OMD installation ######################################
1515ARG OMD_VERSION
@@ -39,7 +39,7 @@ ARG SITENAME=demo
3939ENV SITENAME=$SITENAME
4040RUN echo "export SITENAME=$SITENAME" > .sitename.env
4141RUN 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`
Original file line number Diff line number Diff line change 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
55Author: Sven Nierlein, * sven.nierlein at consol.de*
66
77Original 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
1114Each image build gets triggered by the OMD Labs build system as soon as there are new packages of OMD available:
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments