mirror of
https://github.com/gutmensch/docker-dmarc-report.git
synced 2025-12-17 17:56:30 +00:00
fixes to image
This commit is contained in:
parent
39d7eb1e2f
commit
0edee0273f
@ -8,12 +8,11 @@ ENV REPORT_PARSER_SOURCE="https://github.com/techsneeze/dmarcts-report-parser/ar
|
||||
COPY ./manifest/ /
|
||||
|
||||
RUN set -x \
|
||||
&& apk add expat-dev mariadb-dev \
|
||||
&& wget -q --no-check-certificate -O parser.zip $REPORT_PARSER_SOURCE \
|
||||
&& wget -q --no-check-certificate -O viewer.zip $REPORT_VIEWER_SOURCE \
|
||||
&& unzip parser.zip && mv dmarcts-report-parser-master/* /usr/bin/ && rm -f parser.zip \
|
||||
&& mv /usr/bin/dmarcts-report-parser.conf.sample /usr/bin/dmarcts-report-parser.conf \
|
||||
&& unzip viewer.zip && mv dmarcts-report-viewer-master/* /var/www/html/ && rm -f viewer.zip \
|
||||
&& mv /var/www/html/dmarcts-report-viewer-config.php.sample /var/www/html/dmarcts-report-viewer-config.php \
|
||||
&& (echo y;echo o conf prerequisites_policy follow;echo o conf commit)|cpan \
|
||||
&& for i in \
|
||||
IO::Compress::Gzip \
|
||||
@ -24,8 +23,10 @@ RUN set -x \
|
||||
MIME::Words \
|
||||
MIME::Parser \
|
||||
MIME::Parser::Filer \
|
||||
XML::Parser \
|
||||
XML::Simple \
|
||||
DBI \
|
||||
DBD::mysql \
|
||||
Socket \
|
||||
Socket6 \
|
||||
PerlIO::gzip \
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
[program:cron]
|
||||
command=crond -f -l 0 -L - -c /etc/cron
|
||||
command=crond -f -l 0 -L - -c /etc/cron.d
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=10
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user