From 75b7bf102af372a4088c1852c71b3f3ee1be5798 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Wed, 31 Jul 2024 06:20:41 +0300 Subject: [PATCH] Merge pull request #1478 from zabbix/sokurenko/7.0 Fixed build failure with local branch due to missing plugins branch with same name by allowing ZBX_PLUGINS_VERSION argument --- Dockerfiles/build-mysql/alpine/Dockerfile | 8 +++++--- Dockerfiles/build-mysql/centos/Dockerfile | 8 +++++--- Dockerfiles/build-mysql/rhel/Dockerfile | 8 +++++--- Dockerfiles/build-mysql/ubuntu/Dockerfile | 8 +++++--- Dockerfiles/build-mysql/windows/Dockerfile.agent2 | 8 +++++--- Dockerfiles/build-pgsql/alpine/Dockerfile | 8 +++++--- Dockerfiles/build-pgsql/centos/Dockerfile | 8 +++++--- Dockerfiles/build-pgsql/ol/Dockerfile | 8 +++++--- Dockerfiles/build-pgsql/rhel/Dockerfile | 8 +++++--- Dockerfiles/build-pgsql/ubuntu/Dockerfile | 8 +++++--- Dockerfiles/build-sqlite3/alpine/Dockerfile | 8 +++++--- Dockerfiles/build-sqlite3/centos/Dockerfile | 8 +++++--- Dockerfiles/build-sqlite3/ol/Dockerfile | 8 +++++--- Dockerfiles/build-sqlite3/rhel/Dockerfile | 8 +++++--- Dockerfiles/build-sqlite3/ubuntu/Dockerfile | 8 +++++--- 15 files changed, 75 insertions(+), 45 deletions(-) diff --git a/Dockerfiles/build-mysql/alpine/Dockerfile b/Dockerfiles/build-mysql/alpine/Dockerfile index 33e74f6d6..7b7096c6c 100644 --- a/Dockerfiles/build-mysql/alpine/Dockerfile +++ b/Dockerfiles/build-mysql/alpine/Dockerfile @@ -10,6 +10,8 @@ ARG ZBX_VERSION ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git ARG GIT_BRANCH +ARG ZBX_PLUGINS_VERSION=${GIT_BRANCH:-$ZBX_VERSION} + LABEL org.opencontainers.image.authors="Alexey Pustovalov " \ org.opencontainers.image.description="Zabbix build base for MySQL based images" \ org.opencontainers.image.documentation="https://www.zabbix.com/documentation/${MAJOR_VERSION}/manual/installation/containers" \ @@ -22,9 +24,9 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov " \ org.opencontainers.image.description="Zabbix build base for PostgreSQL based images" \ org.opencontainers.image.documentation="https://www.zabbix.com/documentation/${MAJOR_VERSION}/manual/installation/containers" \ @@ -22,9 +24,9 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov " \ org.opencontainers.image.description="Zabbix build base for PostgreSQL based images" \ org.opencontainers.image.documentation="https://www.zabbix.com/documentation/${MAJOR_VERSION}/manual/installation/containers" \ @@ -22,9 +24,9 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov " \ org.opencontainers.image.description="Zabbix build base for SQLite3 based images" \ org.opencontainers.image.documentation="https://www.zabbix.com/documentation/${MAJOR_VERSION}/manual/installation/containers" \ @@ -22,9 +24,9 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov " \ org.opencontainers.image.description="Zabbix build base for SQLite3 based images" \ org.opencontainers.image.documentation="https://www.zabbix.com/documentation/${MAJOR_VERSION}/manual/installation/containers" \ @@ -22,9 +24,9 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov