mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-17 18:30:50 +01:00
Migrate from MariaDB to Oracle MySQL library
This commit is contained in:
parent
8c3d4b0ff1
commit
e211ab5cf4
@ -48,16 +48,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 && \
|
||||
@ -102,7 +103,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 \
|
||||
@ -110,7 +111,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
||||
gcc \
|
||||
make \
|
||||
unixODBC-devel" && \
|
||||
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" && \
|
||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
cd /tmp/ && \
|
||||
|
@ -53,11 +53,10 @@ RUN set -eux && INSTALL_PKGS="bash \
|
||||
pcre \
|
||||
sqlite-libs \
|
||||
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 install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
groupadd -g 1995 --system zabbix && \
|
||||
@ -109,7 +108,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
||||
gcc \
|
||||
make \
|
||||
unixODBC-devel" && \
|
||||
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" && \
|
||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
cd /tmp/ && \
|
||||
|
@ -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 \
|
||||
|
@ -42,7 +42,7 @@ COPY ["licenses", "/licenses"]
|
||||
|
||||
RUN set -eux && INSTALL_PKGS="bash \
|
||||
curl \
|
||||
mariadb \
|
||||
mysql \
|
||||
nginx \
|
||||
php-bcmath \
|
||||
php-fpm \
|
||||
@ -56,6 +56,7 @@ RUN set -eux && INSTALL_PKGS="bash \
|
||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,nginx-stable" && \
|
||||
dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \
|
||||
--security --sec-severity=Important --sec-severity=Critical && \
|
||||
dnf -y module enable mysql && \
|
||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
pip3 install supervisor && \
|
||||
|
@ -68,11 +68,10 @@ RUN set -o xtrace && INSTALL_PKGS="OpenIPMI-libs \
|
||||
php-xml \
|
||||
python3-pip \
|
||||
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,nginx-stable" && \
|
||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel,nginx-stable" && \
|
||||
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 install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
pip3 install supervisor && \
|
||||
|
Loading…
Reference in New Issue
Block a user