From acacdfbfb74b97d9a4d49b5868a648dd9fb2b76b Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Fri, 2 Feb 2024 02:46:21 +0900 Subject: [PATCH] Fixed agent2 compilation on Alpine --- Dockerfiles/build-mysql/alpine/Dockerfile | 2 -- Dockerfiles/build-pgsql/alpine/Dockerfile | 2 -- Dockerfiles/build-sqlite3/alpine/Dockerfile | 2 -- 3 files changed, 6 deletions(-) diff --git a/Dockerfiles/build-mysql/alpine/Dockerfile b/Dockerfiles/build-mysql/alpine/Dockerfile index 94e7efc98..2be1eb63b 100644 --- a/Dockerfiles/build-mysql/alpine/Dockerfile +++ b/Dockerfiles/build-mysql/alpine/Dockerfile @@ -24,7 +24,6 @@ ENV MONGODB_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/mongodb.git MONGODB_PLU POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master COPY ["conf/chromedp_no_sandbox.patch", "/tmp/chromedp_no_sandbox.patch"] -COPY ["conf/agent2_build.patch", "/tmp/agent2_build.patch"] RUN set -eux && \ ARCH_SUFFIX="$(arch)"; \ @@ -50,7 +49,6 @@ RUN set -eux && \ git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch ${GIT_BRANCH} --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \ cd /tmp/zabbix-${ZBX_VERSION} && \ patch -p1 < /tmp/chromedp_no_sandbox.patch && \ - patch -p1 < /tmp/agent2_build.patch && \ zabbix_revision=`git rev-parse --short HEAD` && \ sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \ sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \ diff --git a/Dockerfiles/build-pgsql/alpine/Dockerfile b/Dockerfiles/build-pgsql/alpine/Dockerfile index 6894cc7c3..d638c4614 100644 --- a/Dockerfiles/build-pgsql/alpine/Dockerfile +++ b/Dockerfiles/build-pgsql/alpine/Dockerfile @@ -24,7 +24,6 @@ ENV MONGODB_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/mongodb.git MONGODB_PLU POSTGRESQL_PLUGIN_SOURCES=https://git.zabbix.com/scm/ap/postgresql.git POSTGRESQL_PLUGIN_VERSION=master COPY ["conf/chromedp_no_sandbox.patch", "/tmp/chromedp_no_sandbox.patch"] -COPY ["conf/agent2_build.patch", "/tmp/agent2_build.patch"] RUN set -eux && \ ARCH_SUFFIX="$(arch)"; \ @@ -50,7 +49,6 @@ RUN set -eux && \ git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch ${GIT_BRANCH} --depth 1 --single-branch /tmp/zabbix-${ZBX_VERSION} && \ cd /tmp/zabbix-${ZBX_VERSION} && \ patch -p1 < /tmp/chromedp_no_sandbox.patch && \ - patch -p1 < /tmp/agent2_build.patch && \ zabbix_revision=`git rev-parse --short HEAD` && \ sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \ sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \ diff --git a/Dockerfiles/build-sqlite3/alpine/Dockerfile b/Dockerfiles/build-sqlite3/alpine/Dockerfile index aab720128..b53b974be 100644 --- a/Dockerfiles/build-sqlite3/alpine/Dockerfile +++ b/Dockerfiles/build-sqlite3/alpine/Dockerfile @@ -23,8 +23,6 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov