mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-19 04:45:59 +02:00
Resolved conflicts with 6.4 branch
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM quay.io/centos/centos:stream9
|
||||
FROM quay.io/centos/centos:stream9-minimal
|
||||
|
||||
ARG MAJOR_VERSION=6.4
|
||||
ARG ZBX_VERSION=${MAJOR_VERSION}.11
|
||||
@@ -18,8 +18,8 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
|
||||
org.opencontainers.image.vendor="Zabbix LLC" \
|
||||
org.opencontainers.image.version="${ZBX_VERSION}"
|
||||
|
||||
RUN set -eux && \
|
||||
REPOLIST="baseos,appstream,crb,epel" && \
|
||||
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
set -eux && \
|
||||
INSTALL_PKGS="autoconf \
|
||||
automake \
|
||||
bash \
|
||||
@@ -45,14 +45,20 @@ RUN set -eux && \
|
||||
gettext \
|
||||
go-toolset \
|
||||
unixODBC-devel" && \
|
||||
dnf -y install epel-release && \
|
||||
dnf -y install \
|
||||
--disablerepo "*" \
|
||||
--enablerepo "${REPOLIST}" \
|
||||
--setopt=tsflags=nodocs \
|
||||
--setopt=install_weak_deps=False \
|
||||
--enablerepo "extras-common" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--setopt=keepcache=0 \
|
||||
--best \
|
||||
${INSTALL_PKGS} && \
|
||||
dnf -y clean all && \
|
||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||
--nodocs epel-release && \
|
||||
microdnf -y install \
|
||||
--disablerepo "*" \
|
||||
--enablerepo "baseos" \
|
||||
--enablerepo "appstream" \
|
||||
--enablerepo "crb" \
|
||||
--enablerepo="epel" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--setopt=keepcache=0 \
|
||||
--best \
|
||||
--nodocs ${INSTALL_PKGS} && \
|
||||
microdnf -y clean all
|
||||
|
Reference in New Issue
Block a user