Added OpenSSL package to server and sqlite3 images. Required to perform rehash of added CA certificates

This commit is contained in:
Alexey Pustovalov 2025-01-16 13:53:02 +09:00
parent a6ebccd984
commit 4236b6d502
41 changed files with 66 additions and 0 deletions

View File

@ -51,6 +51,7 @@ RUN set -eux && \
traceroute \
nmap \
iputils \
openssl \
libcap \
libcurl \
libevent \

View File

@ -384,6 +384,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -62,6 +62,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
shadow-utils \

View File

@ -381,6 +381,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -62,6 +62,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
zlib \

View File

@ -381,6 +381,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -77,6 +77,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
libcurl-minimal \
libevent \
openldap \
openssl \
libssh \
libxml2 \
mysql \

View File

@ -381,6 +381,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -55,6 +55,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
nmap \
ca-certificates \
fping \
openssl \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \

View File

@ -381,6 +381,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -50,6 +50,7 @@ RUN set -eux && \
nmap \
fping \
iputils \
openssl \
libcap \
libcurl \
libevent \

View File

@ -161,6 +161,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -57,6 +57,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
shadow-utils \

View File

@ -161,6 +161,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -58,6 +58,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
zlib \

View File

@ -161,6 +161,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -75,6 +75,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
libcurl-minimal \
libevent \
openldap \
openssl \
libssh \
libxml2 \
net-snmp-agent-libs \

View File

@ -161,6 +161,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -53,6 +53,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
nmap \
ca-certificates \
fping \
openssl \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \

View File

@ -161,6 +161,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -52,6 +52,7 @@ RUN set -eux && \
nmap \
tzdata \
iputils \
openssl \
libcap \
libcurl \
libevent \

View File

@ -400,6 +400,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -66,6 +66,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
shadow-utils \

View File

@ -397,6 +397,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -65,6 +65,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
zlib \

View File

@ -397,6 +397,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -75,6 +75,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
shadow-utils \
iputils \
hostname \
openssl \
libssh \
libpsl \
libbrotli \

View File

@ -397,6 +397,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -57,6 +57,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
iputils-ping \
traceroute \
fping \
openssl \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \

View File

@ -397,6 +397,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -52,6 +52,7 @@ RUN set -eux && \
fping \
tzdata \
iputils \
openssl \
libcap \
libcurl \
libevent \

View File

@ -427,6 +427,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -64,6 +64,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
postgresql \

View File

@ -427,6 +427,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -63,6 +63,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
net-snmp-libs \
OpenIPMI-libs \
openldap \
openssl \
openssl-libs \
pcre2 \
postgresql \

View File

@ -427,6 +427,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -75,6 +75,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
shadow-utils \
iputils \
hostname \
openssl \
libssh \
libpsl \
libbrotli \

View File

@ -427,6 +427,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -57,6 +57,7 @@ RUN --mount=type=cache,target=/var/cache/apt/,sharing=locked \
iputils-ping \
traceroute \
fping \
openssl \
libcurl4t64 \
libevent-2.1 \
libevent-pthreads-2.1 \

View File

@ -427,6 +427,8 @@ update_zbx_config() {
else
export ZBX_ALLOWROOT=1
fi
command -v openssl >/dev/null 2>&1 && openssl rehash -v "${ZBX_SSLCALOCATION}" 1>/dev/null
}
clear_zbx_env() {

View File

@ -18,6 +18,9 @@ services:
- ${DATA_DIRECTORY}/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssl/certs:/var/lib/zabbix/ssl/certs:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssl/keys:/var/lib/zabbix/ssl/keys:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssl/ssl_ca:/var/lib/zabbix/ssl/ssl_ca:rw
- snmptraps:/var/lib/zabbix/snmptraps:roz
tmpfs: /tmp
ulimits:
@ -171,6 +174,9 @@ services:
- ${DATA_DIRECTORY}/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssl/certs:/var/lib/zabbix/ssl/certs:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssl/keys:/var/lib/zabbix/ssl/keys:ro
- ${DATA_DIRECTORY}/var/lib/zabbix/ssl/ssl_ca:/var/lib/zabbix/ssl/ssl_ca:rw
- snmptraps:/var/lib/zabbix/snmptraps:ro
tmpfs: /tmp
ulimits: