mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-05 01:17:27 +02:00
commit
55a5381948
@ -39,6 +39,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
iputils \
|
iputils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
libcurl-minimal \
|
libcurl-minimal \
|
||||||
|
libmodbus \
|
||||||
openssl-libs \
|
openssl-libs \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
zlib" && \
|
zlib" && \
|
||||||
|
@ -40,6 +40,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
iputils \
|
iputils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
libcurl \
|
libcurl \
|
||||||
|
libmodbus \
|
||||||
openssl-libs \
|
openssl-libs \
|
||||||
zlib" && \
|
zlib" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
|
@ -58,6 +58,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
iputils \
|
iputils \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
|
libmodbus \
|
||||||
libcurl-minimal" && \
|
libcurl-minimal" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
|
@ -44,6 +44,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
iputils \
|
iputils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
libcurl-minimal \
|
libcurl-minimal \
|
||||||
|
libmodbus \
|
||||||
smartmontools \
|
smartmontools \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
sudo \
|
sudo \
|
||||||
|
@ -45,6 +45,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
iputils \
|
iputils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
libcurl \
|
libcurl \
|
||||||
|
libmodbus \
|
||||||
smartmontools \
|
smartmontools \
|
||||||
sudo \
|
sudo \
|
||||||
openssl-libs" && \
|
openssl-libs" && \
|
||||||
|
@ -65,6 +65,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
smartmontools \
|
smartmontools \
|
||||||
sudo \
|
sudo \
|
||||||
|
libmodbus \
|
||||||
libcurl-minimal" && \
|
libcurl-minimal" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
|
@ -29,6 +29,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
libevent-devel \
|
libevent-devel \
|
||||||
libssh-devel \
|
libssh-devel \
|
||||||
|
libmodbus-devel \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
openldap-devel \
|
openldap-devel \
|
||||||
|
@ -17,6 +17,8 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
|
|||||||
org.opencontainers.image.vendor="Zabbix LLC" \
|
org.opencontainers.image.vendor="Zabbix LLC" \
|
||||||
org.opencontainers.image.version="${ZBX_VERSION}"
|
org.opencontainers.image.version="${ZBX_VERSION}"
|
||||||
|
|
||||||
|
COPY ["conf/etc/yum.repos.d/oracle-epel-ol9.repo", "/etc/yum.repos.d/oracle-epel-ol9.repo"]
|
||||||
|
|
||||||
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
INSTALL_PKGS="autoconf \
|
INSTALL_PKGS="autoconf \
|
||||||
@ -29,6 +31,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
libevent-devel \
|
libevent-devel \
|
||||||
libssh-devel \
|
libssh-devel \
|
||||||
|
libmodbus-devel \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
openldap-devel \
|
openldap-devel \
|
||||||
@ -48,6 +51,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--enablerepo "ol9_baseos_latest" \
|
--enablerepo "ol9_baseos_latest" \
|
||||||
--enablerepo "ol9_appstream" \
|
--enablerepo "ol9_appstream" \
|
||||||
--enablerepo "ol9_codeready_builder" \
|
--enablerepo "ol9_codeready_builder" \
|
||||||
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
||||||
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
|
gpgcheck=1
|
||||||
|
enabled=0
|
@ -41,6 +41,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
libevent-devel \
|
libevent-devel \
|
||||||
libssh-devel \
|
libssh-devel \
|
||||||
|
libmodbus-devel \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
openldap-devel \
|
openldap-devel \
|
||||||
@ -55,6 +56,9 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
git \
|
git \
|
||||||
gettext \
|
gettext \
|
||||||
unixODBC-devel" && \
|
unixODBC-devel" && \
|
||||||
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
ARCH_SUFFIX="$(arch)"; \
|
ARCH_SUFFIX="$(arch)"; \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
@ -63,6 +67,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--enablerepo "rhel-9-for-$ARCH_SUFFIX-baseos-rpms" \
|
--enablerepo "rhel-9-for-$ARCH_SUFFIX-baseos-rpms" \
|
||||||
--enablerepo "rhel-9-for-$ARCH_SUFFIX-appstream-rpms" \
|
--enablerepo "rhel-9-for-$ARCH_SUFFIX-appstream-rpms" \
|
||||||
--enablerepo "codeready-builder-for-rhel-9-$ARCH_SUFFIX-rpms" \
|
--enablerepo "codeready-builder-for-rhel-9-$ARCH_SUFFIX-rpms" \
|
||||||
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -50,7 +50,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-webservice \
|
--enable-webservice \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-mysql \
|
--with-mysql \
|
||||||
|
@ -51,7 +51,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-webservice \
|
--enable-webservice \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-mysql \
|
--with-mysql \
|
||||||
|
@ -60,7 +60,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-webservice \
|
--enable-webservice \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-mysql \
|
--with-mysql \
|
||||||
|
@ -50,7 +50,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-webservice \
|
--enable-webservice \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
|
@ -51,7 +51,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-webservice \
|
--enable-webservice \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
|
@ -46,7 +46,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-proxy \
|
--enable-proxy \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
|
@ -47,7 +47,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-proxy \
|
--enable-proxy \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
|
@ -56,7 +56,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
|||||||
--enable-proxy \
|
--enable-proxy \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
# --with-libmodbus \
|
--with-libmodbus \
|
||||||
--with-libpcre2 \
|
--with-libpcre2 \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user