Fix script permissions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-02-06 10:31:24 +01:00
parent 1f3cf1ac12
commit 5fd50d69f1

View File

@ -38,7 +38,7 @@ COPY entrypoint.sh /docker-entrypoint.sh
ADD https://raw.githubusercontent.com/stump/check_sshfp/master/check_sshfp /usr/lib/nagios/plugins/check_sshfp
ADD https://raw.githubusercontent.com/matteocorti/check_ssl_cert/master/check_ssl_cert /usr/lib/nagios/plugins/check_ssl_cert
ADD https://gist.githubusercontent.com/nemunaire/9669659/raw/977cfce7246249c17e213b0b2b231220257754fa/nagios-status.pl /usr/bin/nagios-status.pl
RUN chmod +x /usr/lib/nagios/plugins/check_sshfp /usr/lib/nagios/plugins/check_ssl_cert /usr/bin/nagios-status.pl
RUN chmod 755 /usr/lib/nagios/plugins/check_sshfp /usr/lib/nagios/plugins/check_ssl_cert /usr/bin/nagios-status.pl
ENTRYPOINT ["/docker-entrypoint.sh"]
USER nagios