mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-15 19:17:49 +02:00
Migrate from MariaDB to Oracle MySQL library
This commit is contained in:
@ -49,16 +49,17 @@ RUN set -eux && INSTALL_PKGS="bash \
|
||||
openldap \
|
||||
libssh \
|
||||
libxml2 \
|
||||
mariadb \
|
||||
mysql \
|
||||
mysql-libs \
|
||||
net-snmp-agent-libs \
|
||||
OpenIPMI-libs \
|
||||
pcre \
|
||||
unixODBC" && \
|
||||
dnf -y install --disableplugin=subscription-manager --disablerepo "*" \
|
||||
https://repo.zabbix.com/zabbix/${MAJOR_VERSION}/rhel/8/x86_64/zabbix-release-${MAJOR_VERSION}-1.el8.noarch.rpm && \
|
||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,zabbix-non-supported" && \
|
||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \
|
||||
dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \
|
||||
--security --sec-severity=Important --sec-severity=Critical && \
|
||||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
||||
dnf -y module enable mysql && \
|
||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
groupadd -g 1995 --system zabbix && \
|
||||
@ -104,7 +105,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
||||
libevent-devel \
|
||||
libssh-devel \
|
||||
libxml2-devel \
|
||||
mariadb-connector-c-devel \
|
||||
mysql-devel \
|
||||
net-snmp-devel \
|
||||
openldap-devel \
|
||||
pcre-devel \
|
||||
|
Reference in New Issue
Block a user