<commit_before>FROM debian:testing
MAINTAINER Exasol AG

# install packages
ADD apt-proxy /etc/apt/apt.conf.d
ADD etc/apt/sources.list.d/stable.list /etc/apt/sources.list.d/stable.list
RUN apt-get -qy update
RUN apt-get install -qy locales lighttpd php-cgi python3-pip python3-pyodbc unixodbc netcat patch wget ssmtp libdigest-hmac-perl unattended-upgrades apache2-utils cron nagios-plugins nagios-snmp-plugins
RUN python3 -m pip install ExasolDatabaseConnector

# debug section
RUN apt-get -qy install vim less python3-dialog

#install custom scripts and build nagios core
ADD usr/local /usr/local
RUN chmod -v 755 /usr/local/bin/*
RUN install-nagios4
RUN install-pnp4nagios

# configure apt and unattended upgrades
ADD etc/apt/apt.conf.d/* /etc/apt/apt.conf.d/

# configure lighttpd
ADD etc/lighttpd/conf-available/10-nagios4.conf /etc/lighttpd/conf-available/<commit_msg>fix: added forgotten apt upgrade<commit_after>FROM debian:testing
MAINTAINER Exasol AG

# install packages
ADD apt-proxy /etc/apt/apt.conf.d
ADD etc/apt/sources.list.d/stable.list /etc/apt/sources.list.d/stable.list
RUN apt-get -qy update
RUN apt-get -qy full-upgrade
RUN apt-get install -qy locales lighttpd php-cgi python3-pip python3-pyodbc unixodbc netcat patch wget ssmtp libdigest-hmac-perl unattended-upgrades apache2-utils cron nagios-plugins nagios-snmp-plugins
RUN python3 -m pip install ExasolDatabaseConnector

# debug section
RUN apt-get -qy install vim less python3-dialog

#install custom scripts and build nagios core
ADD usr/local /usr/local
RUN chmod -v 755 /usr/local/bin/*
RUN install-nagios4
RUN install-pnp4nagios

# configure apt and unattended upgrades
ADD etc/apt/apt.conf.d/* /etc/apt/apt.conf.d/

# configure lighttpd
ADD etc/lighttpd/conf-available/10-nagios4.conf /etc/lighttpd/conf-available/
{'fraction_non_alphanumeric': 0.09131403118040089, 'fraction_numerical': 0.014476614699331848, 'mean_word_length': 4.380239520958084, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '439696', 'n_tokens_mistral': 654, 'n_tokens_neox': 630, 'n_words': 175}