znuny-debian/znuny-deb (latest)
Published 2025-03-16 02:38:43 +01:00 by snoopy
Installation
docker pull git.koeln.ccc.de/snoopy/znuny-debian/znuny-deb:latest
sha256:40294e8ddc177ec5d98f10f67de37ab239a527913faaea89cc48478f3e924df1
Image layers
# debian.sh --arch 'amd64' out/ 'bookworm' '@1740355200' |
RUN apt update -y && apt upgrade -y |
RUN apt install -y apache2 tar bash-completion wget cron gnupg |
RUN wget https://download.znuny.org/releases/znuny-7.1.6.tar.gz |
RUN tar xfz znuny-7.1.6.tar.gz |
RUN rm znuny-7.1.6.tar.gz |
RUN ln -s /opt/znuny-7.1.6 /opt/znuny |
RUN useradd -d /opt/znuny -c 'Znuny user' -g www-data -s /bin/bash -M -N znuny |
RUN cp /opt/znuny/Kernel/Config.pm.dist /opt/znuny/Kernel/Config.pm |
RUN /opt/znuny/bin/znuny.SetPermissions.pl |
RUN apt install -y libapache2-mod-perl2 libdbd-mysql-perl libtimedate-perl libnet-dns-perl libnet-ldap-perl libio-socket-ssl-perl libpdf-api2-perl libsoap-lite-perl libtext-csv-xs-perl libjson-xs-perl libapache-dbi-perl libxml-libxml-perl libxml-libxslt-perl libyaml-perl libarchive-zip-perl libcrypt-eksblowfish-perl libencode-hanextra-perl libmail-imapclient-perl libtemplate-perl libdatetime-perl libmoo-perl bash-completion libyaml-libyaml-perl libjavascript-minifier-xs-perl libcss-minifier-xs-perl libauthen-sasl-perl libauthen-ntlm-perl libhash-merge-perl libical-parser-perl libspreadsheet-xlsx-perl libdata-uuid-perl mariadb-client |
RUN ln -s /opt/znuny/scripts/apache2-httpd.include.conf /etc/apache2/conf-available/znuny.conf |
RUN a2dismod mpm_event |
RUN a2enmod mpm_prefork headers filter perl |
RUN a2enconf znuny |
RUN for foo in *.dist; do cp $foo `basename $foo .dist`; done |
RUN bin/Cron.sh start |
COPY ./scripts/entrypoint.sh /entrypoint.sh |
RUN ["chmod", "+x", "/entrypoint.sh"] |