docker-otrs/znuny (latest)

Published 2024-04-24 03:11:02 +02:00 by snoopy

Installation

docker pull git.koeln.ccc.de/snoopy/docker-otrs/znuny:latest
sha256:332b4910a0ab803e06a6c8b544d1348faf90d3f1e6a5227b19ec921002902632

Image Layers

ADD file:5d853f1ab02d07a8ff8a004a48c2b892aeb1b04a868ef6f897f303abccf852d9 in /
LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 9 Base Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20240423"
CMD ["/bin/bash"]
RUN dnf install -y epel-release httpd mariadb cpanminus gcc dnf-plugins-core && yum config-manager --set-enabled crb && yum update -y && yum install -y https://download.znuny.org/releases/RPMS/rhel/7/znuny-${OTRS_VERSION}-01.noarch.rpm && yum install -y "perl(Moo)" "perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(ModPerl::Util)" "perl(Mail::IMAPClient)" "perl(JSON::XS)" "perl(Encode::HanExtra)" "perl(Crypt::Eksblowfish::Bcrypt)" "perl(DBD::mysql)" "perl(Data::UUID)" "perl(Crypt::JWT)" && cpanm JavaScript::Minifier::XS CSS::Minifier::XS iCal::Parser && ${OTRS_ROOT}/bin/otrs.CheckModules.pl && yum clean all
COPY *.sh /
RUN chmod 755 /*.sh && cp ${OTRS_ROOT}/var/httpd/htdocs/index.html /var/www/html && chmod 644 /var/www/html/index.html && sed -i 's/\bindex.html\b/& index.pl/' /etc/httpd/conf/httpd.conf && echo "+ : znuny : cron crond" |cat >> /etc/security/access.conf && sed -i -e '/pam_loginuid.so/ s/^#*/#/' /etc/pam.d/crond && sed -i -e '/<ValidateModule>Kernel::System::SysConfig::StateValidate<\/ValidateModule>/ s/^#*/#/' ${OTRS_ROOT}/Kernel/Config/Files/XML/Ticket.xml && mkdir -p ${OTRS_ROOT}/var/{run,tmp}/
RUN mv ${OTRS_CONFIG_DIR} / && mv ${SKINS_PATH} / && touch ${OTRS_ROOT}/var/tmp/firsttime && ln -sf /dev/stdout /var/log/httpd/access_log && ln -sf /dev/stderr /var/log/httpd/error_log && ln -sf /dev/stdout /var/log/cron

Labels

Key Value
io.buildah.version 1.31.3
maintainer Juan Luis Baptiste <juan@juanbaptiste.tech>
org.label-schema.build-date 20240423
org.label-schema.license GPLv2
org.label-schema.name CentOS Stream 9 Base Image
org.label-schema.schema-version 1.0
org.label-schema.vendor CentOS
Details
Container
2024-04-24 03:11:02 +02:00
8
OCI / Docker
linux/amd64
339 MiB
Versions (1) View all
latest 2024-04-24