mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 16:45:05 +02:00
Added Oracle Linux 8 images instead of CentOS 8
This commit is contained in:
@ -50,6 +50,8 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
||||
gcc" && \
|
||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||
--nodocs dnf && \
|
||||
mkdir -p /etc/yum/vars/ && \
|
||||
echo "" > /etc/yum/vars/ociregion && \
|
||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
cd /tmp/ && \
|
||||
@ -76,6 +78,7 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
||||
dnf -y history undo last && \
|
||||
dnf -y clean all && \
|
||||
microdnf -y remove dnf && \
|
||||
rm -rf /etc/yum/ && \
|
||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
||||
chgrp -R 0 /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
||||
chmod -R g=u /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
||||
|
Reference in New Issue
Block a user