mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-20 18:07:46 +02:00
Added Oracle Linux 8 images instead of CentOS 8
This commit is contained in:
parent
046e349b7b
commit
ce20e4318d
@ -83,9 +83,7 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
git \
|
git \
|
||||||
gcc" && \
|
gcc" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf dnf-plugins-core && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -116,8 +114,7 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
rm -rf /tmp/zabbix-${ZBX_VERSION}/ && \
|
rm -rf /tmp/zabbix-${ZBX_VERSION}/ && \
|
||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf dnf-plugins-core && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user