This commit is contained in:
Hyatt 2020-05-14 21:59:52 -05:00
parent 7747d4344f
commit 111a15e393
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -77,11 +77,11 @@ COPY ssl-decoder /var/www/html/ssl-decoder
COPY certificate-expiry-monitor /var/www/html/certificate-expiry-monitor
COPY variables.php /var/www/html/certificate-expiry-monitor/functions/variables.php
RUN echo '{}' > /var/www/certificate-expiry-monitor-db/pre_checks.json && \
echo '{}' > /var/www/certificate-expiry-monitor-db/checks.json && \
echo '{}' > /var/www/certificate-expiry-monitor-db/deleted_checks.json && \
RUN printf '%s' "{}" > /cert-monitor/pre_checks.json && \\
printf '%s' "{}" > /cert-monitor/checks.json && \\
printf '%s' "{}" > /cert-monitor/deleted_checks.json && \\
chown -R 33:33 /var/www/html/* /cert-monitor && \\
sed -i '18s/^.*$/error_reporting(E_ERROR | E_PARSE);/' /var/www/html/ssl-decoder/index.php
sed -i '18s/^.*\$/error_reporting(E_ERROR | E_PARSE);/' /var/www/html/ssl-decoder/index.php
"""
writeFile file: workspace + '/linux-webserver.conf', text: AC
writeFile file: workspace + '/variables.php', text: CE