mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-22 22:41:19 +01:00
Updated RHEL to 9.5
This commit is contained in:
parent
8a62be2ac3
commit
2c8b85c3e0
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION=7.2
|
||||
ARG RELEASE=0
|
||||
|
@ -148,7 +148,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
mkdir -p ${ZBX_OUTPUT_DIR}/agent2/conf/zabbix_agent2.d/plugins.d/ && \
|
||||
git -c advice.detachedHead=false clone ${MONGODB_PLUGIN_SOURCES} --branch ${MONGODB_PLUGIN_VERSION} --depth 1 --single-branch /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION} && \
|
||||
cd /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION}/zabbix-agent2-plugin-mongodb && \
|
||||
cp /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION}/zabbix-agent2-plugin-mongodb ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/mongodb && \
|
||||
@ -156,7 +155,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${POSTGRESQL_PLUGIN_SOURCES} --branch ${POSTGRESQL_PLUGIN_VERSION} --depth 1 --single-branch /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION} && \
|
||||
cd /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION}/zabbix-agent2-plugin-postgresql && \
|
||||
cp /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION}/zabbix-agent2-plugin-postgresql ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/postgresql && \
|
||||
@ -164,7 +162,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${MSSQL_PLUGIN_SOURCES} --branch ${MSSQL_PLUGIN_VERSION} --depth 1 --single-branch /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION} && \
|
||||
cd /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION}/zabbix-agent2-plugin-mssql && \
|
||||
cp /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION}/zabbix-agent2-plugin-mssql ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/mssql && \
|
||||
@ -172,7 +169,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${EMBER_PLUS_PLUGIN_SOURCES} --branch ${EMBER_PLUS_PLUGIN_VERSION} --depth 1 --single-branch /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION} && \
|
||||
cd /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION}/zabbix-agent2-plugin-ember-plus && \
|
||||
cp /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION}/zabbix-agent2-plugin-ember-plus ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/ember-plus && \
|
||||
|
@ -153,7 +153,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
mkdir -p ${ZBX_OUTPUT_DIR}/agent2/conf/zabbix_agent2.d/plugins.d/ && \
|
||||
git -c advice.detachedHead=false clone ${MONGODB_PLUGIN_SOURCES} --branch ${MONGODB_PLUGIN_VERSION} --depth 1 --single-branch /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION} && \
|
||||
cd /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION}/zabbix-agent2-plugin-mongodb && \
|
||||
cp /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION}/zabbix-agent2-plugin-mongodb ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/mongodb && \
|
||||
@ -161,7 +160,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${POSTGRESQL_PLUGIN_SOURCES} --branch ${POSTGRESQL_PLUGIN_VERSION} --depth 1 --single-branch /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION} && \
|
||||
cd /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION}/zabbix-agent2-plugin-postgresql && \
|
||||
cp /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION}/zabbix-agent2-plugin-postgresql ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/postgresql && \
|
||||
@ -169,7 +167,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${MSSQL_PLUGIN_SOURCES} --branch ${MSSQL_PLUGIN_VERSION} --depth 1 --single-branch /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION} && \
|
||||
cd /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION}/zabbix-agent2-plugin-mssql && \
|
||||
cp /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION}/zabbix-agent2-plugin-mssql ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/mssql && \
|
||||
@ -177,7 +174,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${EMBER_PLUS_PLUGIN_SOURCES} --branch ${EMBER_PLUS_PLUGIN_VERSION} --depth 1 --single-branch /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION} && \
|
||||
cd /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION}/zabbix-agent2-plugin-ember-plus && \
|
||||
cp /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION}/zabbix-agent2-plugin-ember-plus ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/ember-plus && \
|
||||
|
@ -125,7 +125,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
mkdir -p ${ZBX_OUTPUT_DIR}/agent2/conf/zabbix_agent2.d/plugins.d/ && \
|
||||
git -c advice.detachedHead=false clone ${MONGODB_PLUGIN_SOURCES} --branch ${MONGODB_PLUGIN_VERSION} --depth 1 --single-branch /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION} && \
|
||||
cd /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION}/zabbix-agent2-plugin-mongodb && \
|
||||
cp /tmp/mongodb-plugin-${MONGODB_PLUGIN_VERSION}/zabbix-agent2-plugin-mongodb ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/mongodb && \
|
||||
@ -133,7 +132,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${POSTGRESQL_PLUGIN_SOURCES} --branch ${POSTGRESQL_PLUGIN_VERSION} --depth 1 --single-branch /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION} && \
|
||||
cd /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION}/zabbix-agent2-plugin-postgresql && \
|
||||
cp /tmp/postgresql-plugin-${POSTGRESQL_PLUGIN_VERSION}/zabbix-agent2-plugin-postgresql ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/postgresql && \
|
||||
@ -141,7 +139,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${MSSQL_PLUGIN_SOURCES} --branch ${MSSQL_PLUGIN_VERSION} --depth 1 --single-branch /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION} && \
|
||||
cd /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION}/zabbix-agent2-plugin-mssql && \
|
||||
cp /tmp/mssql-plugin-${MSSQL_PLUGIN_VERSION}/zabbix-agent2-plugin-mssql ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/mssql && \
|
||||
@ -149,7 +146,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build/ \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${EMBER_PLUS_PLUGIN_SOURCES} --branch ${EMBER_PLUS_PLUGIN_VERSION} --depth 1 --single-branch /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION} && \
|
||||
cd /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION} && \
|
||||
sed -i 's/go 1.2[0-9]/go 1.21/g' go.mod && \
|
||||
make && \
|
||||
strip /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION}/zabbix-agent2-plugin-ember-plus && \
|
||||
cp /tmp/ember-plugin-${EMBER_PLUS_PLUGIN_VERSION}/zabbix-agent2-plugin-ember-plus ${ZBX_OUTPUT_DIR}/agent2/sbin/zabbix-agent2-plugin/ember-plus && \
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION=7.2
|
||||
ARG RELEASE=0
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.4
|
||||
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG RELEASE
|
||||
|
Loading…
Reference in New Issue
Block a user