From df93e80565e0c0490903da400b5f998de54e2263 Mon Sep 17 00:00:00 2001 From: Vladislavs Sokurenko Date: Tue, 30 Jul 2024 15:22:07 +0300 Subject: [PATCH] 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 | 11 +++++++---- Dockerfiles/build-mysql/centos/Dockerfile | 11 +++++++---- Dockerfiles/build-mysql/rhel/Dockerfile | 11 +++++++---- Dockerfiles/build-mysql/ubuntu/Dockerfile | 11 +++++++---- Dockerfiles/build-mysql/windows/Dockerfile.agent2 | 11 +++++++---- .../build-mysql/windows/Dockerfile_llvm_clang.agent2 | 11 +++++++---- .../build-mysql/windows/Dockerfile_vcpkg.agent2 | 11 +++++++---- Dockerfiles/build-pgsql/alpine/Dockerfile | 11 +++++++---- Dockerfiles/build-pgsql/centos/Dockerfile | 11 +++++++---- Dockerfiles/build-pgsql/ol/Dockerfile | 11 +++++++---- Dockerfiles/build-pgsql/rhel/Dockerfile | 11 +++++++---- Dockerfiles/build-pgsql/ubuntu/Dockerfile | 11 +++++++---- Dockerfiles/build-sqlite3/alpine/Dockerfile | 11 +++++++---- Dockerfiles/build-sqlite3/centos/Dockerfile | 11 +++++++---- Dockerfiles/build-sqlite3/ol/Dockerfile | 11 +++++++---- Dockerfiles/build-sqlite3/rhel/Dockerfile | 11 +++++++---- Dockerfiles/build-sqlite3/ubuntu/Dockerfile | 11 +++++++---- 17 files changed, 119 insertions(+), 68 deletions(-) diff --git a/Dockerfiles/build-mysql/alpine/Dockerfile b/Dockerfiles/build-mysql/alpine/Dockerfile index 86f1ada78..f16b6fd93 100644 --- a/Dockerfiles/build-mysql/alpine/Dockerfile +++ b/Dockerfiles/build-mysql/alpine/Dockerfile @@ -10,6 +10,9 @@ 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} +ARG ZBX_PLUGINS_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,10 +25,10 @@ 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,10 +25,10 @@ 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,10 +25,10 @@ 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,10 +25,10 @@ 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,10 +25,10 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov