ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi # buildkit |
RUN /bin/sh -c apk add shadow && groupadd -g 48 apache && useradd -d /opt/otrs -g apache -c 'OTRS user' otrs # buildkit |
RUN /bin/sh -c apk add --no-cache nginx curl # buildkit |
RUN /bin/sh -c usermod nginx -G apache # buildkit |
RUN /bin/sh -c apk add --no-cache perl perl-fcgi fcgiwrap # buildkit |
RUN /bin/sh -c apk add --no-cache perl-dbi perl-dbd-mysql perl-dbd-pg # buildkit |
RUN /bin/sh -c apk add --no-cache perl-archive-zip perl-crypt-eksblowfish perl-css-minifier-xs perl-date-format perl-datetime perl-encode-hanextra perl-io-socket-ssl perl-javascript-minifier-xs perl-json-xs perl-mail-imapclient perl-authen-sasl perl-authen-ntlm perl-moo perl-net-dns perl-ldap perl-package-stash-xs perl-template-toolkit perl-text-csv_xs perl-yaml-xs perl-xml-libxml perl-xml-libxslt perl-xml-parser # buildkit |
RUN /bin/sh -c apk add --no-cache perl-crypt-random-source --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community # buildkit |
RUN /bin/sh -c cd /tmp/ && wget https://download.znuny.org/releases/znuny-6.0.48.tar.gz && tar -C /opt -xzf /tmp/znuny-6.0.48.tar.gz && ln -s ./znuny-6.0.48 /opt/otrs && rm /tmp/znuny-6.0.48.tar.gz && mkdir /opt/otrs/Kernel/Files && ln -s otrs_daemon.dist /opt/otrs/var/cron/otrs_daemon && /opt/otrs/bin/otrs.CheckModules.pl && /opt/otrs/bin/otrs.SetPermissions.pl # buildkit |
COPY otrs.conf /etc/nginx/http.d/default.conf # buildkit |
COPY init /sbin # buildkit |
CMD ["/sbin/init"] |