Skip to content

Commit 3ab6549

Browse files
committed
ace.js is downloaded at build time
1 parent 1505ff1 commit 3ab6549

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM debian:bookworm
33
MAINTAINER Neszt Tibor <tibor@neszt.hu>
44
LABEL org.opencontainers.image.source https://github.com/neszt/icinga-nms-docker
55

6+
ENV ACEJS=v1.36.5
67
ENV CHECK_SSL_CERT_VERSION=v2.84.5
78
ENV CHECK_RBL_VERSION=52183405778a95c224652bc261216c9a749288dc
89
ENV CHECK_LIBRENMS_ALERTS_VERSION=1.0.1
@@ -14,6 +15,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
1415
echo deb http://deb.debian.org/debian buster main >> /etc/apt/sources.list && \
1516
apt-get update && apt-get -y dist-upgrade && \
1617
apt-get install -y --install-recommends vim telnet tcpdump less acl runit cron git nginx icinga nagios-nrpe-plugin curl smokeping munin fcgiwrap spawn-fcgi php-fpm make xalan xsltproc python3 python3-urllib3 python3-requests libxml2-utils libxml-simple-perl libjson-xs-perl libnet-openssh-perl libdbi-perl libdbd-pg-perl libfrontier-rpc-perl liburi-encode-perl libdata-uuid-perl libcapture-tiny-perl libdata-validate-domain-perl libdata-validate-ip-perl libnet-dns-perl libnet-ip-perl libmonitoring-plugin-perl libcpanel-json-xs-perl bc freeipmi-tools nagios-plugins-contrib && \
18+
# ace.js min
19+
curl https://raw.githubusercontent.com/ajaxorg/ace-builds/refs/tags/${ACEJS}/src-min/ace.js > /var/www/html/ace.js && \
1720
# nagios-plugins-contrib upgrades
1821
curl https://raw.githubusercontent.com/matteocorti/check_ssl_cert/${CHECK_SSL_CERT_VERSION}/check_ssl_cert > /usr/lib/nagios/plugins/check_ssl_cert && \
1922
curl https://raw.githubusercontent.com/matteocorti/check_rbl/${CHECK_RBL_VERSION}/check_rbl | sed '1 s/^.*$/#!\/usr\/bin\/perl/' > /usr/lib/nagios/plugins/check_rbl && \

content/var/www/html/ace.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)