Prepare for Zabbix 5.4 release

This commit is contained in:
Alexey Pustovalov 2021-05-17 14:22:56 +05:00
parent 1beb35eb96
commit bd169b9ec9
43 changed files with 132 additions and 132 deletions

View File

@ -37,7 +37,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -58,7 +58,7 @@ RUN set -eux && \
make \
git && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -60,7 +60,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -82,7 +82,7 @@ RUN set -eux && \
git \
gcc && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -48,7 +48,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -73,7 +73,7 @@ RUN set -eux && \
git \
gcc && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -35,7 +35,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -56,7 +56,7 @@ RUN set -eux && \
openssl-dev \
zlib-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \

View File

@ -47,7 +47,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -70,7 +70,7 @@ RUN set -eux && \
g++ \
golang && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -1,7 +1,7 @@
version: '3.5'
services:
zabbix-server:
image: zabbix/zabbix-server-mysql:alpine-trunk
image: zabbix/zabbix-server-mysql:alpine-5.4-latest
ports:
- "10051:10051"
volumes:
@ -64,7 +64,7 @@ services:
com.zabbix.os: "alpine"
zabbix-proxy-sqlite3:
image: zabbix/zabbix-proxy-sqlite3:alpine-trunk
image: zabbix/zabbix-proxy-sqlite3:alpine-5.4-latest
profiles:
- all
ports:
@ -113,7 +113,7 @@ services:
com.zabbix.os: "alpine"
zabbix-proxy-mysql:
image: zabbix/zabbix-proxy-mysql:alpine-trunk
image: zabbix/zabbix-proxy-mysql:alpine-5.4-latest
profiles:
- all
ports:
@ -171,7 +171,7 @@ services:
com.zabbix.os: "alpine"
zabbix-web-apache-mysql:
image: zabbix/zabbix-web-apache-mysql:alpine-trunk
image: zabbix/zabbix-web-apache-mysql:alpine-5.4-latest
profiles:
- all
ports:
@ -227,7 +227,7 @@ services:
com.zabbix.os: "alpine"
zabbix-web-nginx-mysql:
image: zabbix/zabbix-web-nginx-mysql:alpine-trunk
image: zabbix/zabbix-web-nginx-mysql:alpine-5.4-latest
ports:
- "80:8080"
- "443:8443"
@ -281,7 +281,7 @@ services:
com.zabbix.os: "alpine"
zabbix-agent:
image: zabbix/zabbix-agent:alpine-trunk
image: zabbix/zabbix-agent:alpine-5.4-latest
profiles:
- full
- all
@ -321,7 +321,7 @@ services:
com.zabbix.os: "alpine"
zabbix-java-gateway:
image: zabbix/zabbix-java-gateway:alpine-trunk
image: zabbix/zabbix-java-gateway:alpine-5.4-latest
profiles:
- full
- all
@ -350,7 +350,7 @@ services:
com.zabbix.os: "alpine"
zabbix-snmptraps:
image: zabbix/zabbix-snmptraps:alpine-trunk
image: zabbix/zabbix-snmptraps:alpine-5.4-latest
profiles:
- full
- all
@ -379,7 +379,7 @@ services:
com.zabbix.os: "alpine"
zabbix-web-service:
image: zabbix/zabbix-web-service:alpine-trunk
image: zabbix/zabbix-web-service:alpine-5.4-latest
profiles:
- full
- all

View File

@ -1,7 +1,7 @@
version: '3.5'
services:
zabbix-server:
image: zabbix/zabbix-server-pgsql:alpine-trunk
image: zabbix/zabbix-server-pgsql:alpine-5.4-latest
ports:
- "10051:10051"
volumes:
@ -63,7 +63,7 @@ services:
com.zabbix.os: "alpine"
zabbix-proxy-sqlite3:
image: zabbix/zabbix-proxy-sqlite3:alpine-trunk
image: zabbix/zabbix-proxy-sqlite3:alpine-5.4-latest
profiles:
- all
ports:
@ -112,7 +112,7 @@ services:
com.zabbix.os: "alpine"
zabbix-proxy-mysql:
image: zabbix/zabbix-proxy-mysql:alpine-trunk
image: zabbix/zabbix-proxy-mysql:alpine-5.4-latest
profiles:
- all
ports:
@ -167,7 +167,7 @@ services:
com.zabbix.os: "alpine"
zabbix-web-apache-pgsql:
image: zabbix/zabbix-web-apache-pgsql:alpine-trunk
image: zabbix/zabbix-web-apache-pgsql:alpine-5.4-latest
profiles:
- all
ports:
@ -223,7 +223,7 @@ services:
com.zabbix.os: "alpine"
zabbix-web-nginx-pgsql:
image: zabbix/zabbix-web-nginx-pgsql:alpine-trunk
image: zabbix/zabbix-web-nginx-pgsql:alpine-5.4-latest
ports:
- "80:8080"
- "443:8443"
@ -277,7 +277,7 @@ services:
com.zabbix.os: "alpine"
zabbix-agent:
image: zabbix/zabbix-agent:alpine-trunk
image: zabbix/zabbix-agent:alpine-5.4-latest
profiles:
- full
- all
@ -317,7 +317,7 @@ services:
com.zabbix.os: "alpine"
zabbix-java-gateway:
image: zabbix/zabbix-java-gateway:alpine-trunk
image: zabbix/zabbix-java-gateway:alpine-5.4-latest
profiles:
- full
- all
@ -346,7 +346,7 @@ services:
com.zabbix.os: "alpine"
zabbix-snmptraps:
image: zabbix/zabbix-snmptraps:alpine-trunk
image: zabbix/zabbix-snmptraps:alpine-5.4-latest
profiles:
- full
- all
@ -375,7 +375,7 @@ services:
com.zabbix.os: "alpine"
zabbix-web-service:
image: zabbix/zabbix-web-service:alpine-trunk
image: zabbix/zabbix-web-service:alpine-5.4-latest
profiles:
- full
- all

View File

@ -1,7 +1,7 @@
version: '3.5'
services:
zabbix-server:
image: zabbix/zabbix-server-mysql:centos-trunk
image: zabbix/zabbix-server-mysql:centos-5.4-latest
ports:
- "10051:10051"
volumes:
@ -64,7 +64,7 @@ services:
com.zabbix.os: "centos"
zabbix-proxy-sqlite3:
image: zabbix/zabbix-proxy-sqlite3:centos-trunk
image: zabbix/zabbix-proxy-sqlite3:centos-5.4-latest
profiles:
- all
ports:
@ -113,7 +113,7 @@ services:
com.zabbix.os: "centos"
zabbix-proxy-mysql:
image: zabbix/zabbix-proxy-mysql:centos-trunk
image: zabbix/zabbix-proxy-mysql:centos-5.4-latest
profiles:
- all
ports:
@ -171,7 +171,7 @@ services:
com.zabbix.os: "centos"
zabbix-web-apache-mysql:
image: zabbix/zabbix-web-apache-mysql:centos-trunk
image: zabbix/zabbix-web-apache-mysql:centos-5.4-latest
profiles:
- all
ports:
@ -227,7 +227,7 @@ services:
com.zabbix.os: "centos"
zabbix-web-nginx-mysql:
image: zabbix/zabbix-web-nginx-mysql:centos-trunk
image: zabbix/zabbix-web-nginx-mysql:centos-5.4-latest
ports:
- "80:8080"
- "443:8443"
@ -281,7 +281,7 @@ services:
com.zabbix.os: "centos"
zabbix-agent:
image: zabbix/zabbix-agent:centos-trunk
image: zabbix/zabbix-agent:centos-5.4-latest
profiles:
- full
- all
@ -321,7 +321,7 @@ services:
com.zabbix.os: "centos"
zabbix-java-gateway:
image: zabbix/zabbix-java-gateway:centos-trunk
image: zabbix/zabbix-java-gateway:centos-5.4-latest
profiles:
- full
- all
@ -350,7 +350,7 @@ services:
com.zabbix.os: "centos"
zabbix-snmptraps:
image: zabbix/zabbix-snmptraps:centos-trunk
image: zabbix/zabbix-snmptraps:centos-5.4-latest
profiles:
- full
- all
@ -379,7 +379,7 @@ services:
com.zabbix.os: "centos"
zabbix-web-service:
image: zabbix/zabbix-web-service:centos-trunk
image: zabbix/zabbix-web-service:centos-5.4-latest
profiles:
- full
- all

View File

@ -1,7 +1,7 @@
version: '3.5'
services:
zabbix-server:
image: zabbix/zabbix-server-pgsql:centos-trunk
image: zabbix/zabbix-server-pgsql:centos-5.4-latest
ports:
- "10051:10051"
volumes:
@ -63,7 +63,7 @@ services:
com.zabbix.os: "centos"
zabbix-proxy-sqlite3:
image: zabbix/zabbix-proxy-sqlite3:centos-trunk
image: zabbix/zabbix-proxy-sqlite3:centos-5.4-latest
profiles:
- all
ports:
@ -112,7 +112,7 @@ services:
com.zabbix.os: "centos"
zabbix-proxy-mysql:
image: zabbix/zabbix-proxy-mysql:centos-trunk
image: zabbix/zabbix-proxy-mysql:centos-5.4-latest
profiles:
- all
ports:
@ -167,7 +167,7 @@ services:
com.zabbix.os: "centos"
zabbix-web-apache-pgsql:
image: zabbix/zabbix-web-apache-pgsql:centos-trunk
image: zabbix/zabbix-web-apache-pgsql:centos-5.4-latest
profiles:
- all
ports:
@ -223,7 +223,7 @@ services:
com.zabbix.os: "centos"
zabbix-web-nginx-pgsql:
image: zabbix/zabbix-web-nginx-pgsql:centos-trunk
image: zabbix/zabbix-web-nginx-pgsql:centos-5.4-latest
ports:
- "80:8080"
- "443:8443"
@ -277,7 +277,7 @@ services:
com.zabbix.os: "centos"
zabbix-agent:
image: zabbix/zabbix-agent:centos-trunk
image: zabbix/zabbix-agent:centos-5.4-latest
profiles:
- full
- all
@ -317,7 +317,7 @@ services:
com.zabbix.os: "centos"
zabbix-java-gateway:
image: zabbix/zabbix-java-gateway:centos-trunk
image: zabbix/zabbix-java-gateway:centos-5.4-latest
profiles:
- full
- all
@ -346,7 +346,7 @@ services:
com.zabbix.os: "centos"
zabbix-snmptraps:
image: zabbix/zabbix-snmptraps:centos-trunk
image: zabbix/zabbix-snmptraps:centos-5.4-latest
profiles:
- full
- all
@ -375,7 +375,7 @@ services:
com.zabbix.os: "centos"
zabbix-web-service:
image: zabbix/zabbix-web-service:centos-trunk
image: zabbix/zabbix-web-service:centos-5.4-latest
profiles:
- full
- all

View File

@ -1,7 +1,7 @@
version: '3.5'
services:
zabbix-server:
image: zabbix/zabbix-server-mysql:ubuntu-trunk
image: zabbix/zabbix-server-mysql:ubuntu-5.4-latest
ports:
- "10051:10051"
volumes:
@ -111,7 +111,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-proxy-mysql:
image: zabbix/zabbix-proxy-mysql:ubuntu-trunk
image: zabbix/zabbix-proxy-mysql:ubuntu-5.4-latest
profiles:
- all
ports:
@ -166,7 +166,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-web-apache-mysql:
image: zabbix/zabbix-web-apache-mysql:ubuntu-trunk
image: zabbix/zabbix-web-apache-mysql:ubuntu-5.4-latest
profiles:
- all
ports:
@ -221,7 +221,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-web-nginx-mysql:
image: zabbix/zabbix-web-nginx-mysql:ubuntu-trunk
image: zabbix/zabbix-web-nginx-mysql:ubuntu-5.4-latest
ports:
- "80:8080"
- "443:8443"
@ -274,7 +274,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-agent:
image: zabbix/zabbix-agent:ubuntu-trunk
image: zabbix/zabbix-agent:ubuntu-5.4-latest
profiles:
- full
- all
@ -313,7 +313,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-java-gateway:
image: zabbix/zabbix-java-gateway:ubuntu-trunk
image: zabbix/zabbix-java-gateway:ubuntu-5.4-latest
profiles:
- full
- all
@ -342,7 +342,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-snmptraps:
image: zabbix/zabbix-snmptraps:ubuntu-trunk
image: zabbix/zabbix-snmptraps:ubuntu-5.4-latest
profiles:
- full
- all
@ -371,7 +371,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-web-service:
image: zabbix/zabbix-web-service:ubuntu-trunk
image: zabbix/zabbix-web-service:ubuntu-5.4-latest
profiles:
- full
- all

View File

@ -1,7 +1,7 @@
version: '3.5'
services:
zabbix-server:
image: zabbix/zabbix-server-pgsql:ubuntu-trunk
image: zabbix/zabbix-server-pgsql:ubuntu-5.4-latest
ports:
- "10051:10051"
volumes:
@ -62,7 +62,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-proxy-sqlite3:
image: zabbix/zabbix-proxy-sqlite3:ubuntu-trunk
image: zabbix/zabbix-proxy-sqlite3:ubuntu-5.4-latest
profiles:
- all
ports:
@ -110,7 +110,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-proxy-mysql:
image: zabbix/zabbix-proxy-mysql:ubuntu-trunk
image: zabbix/zabbix-proxy-mysql:ubuntu-5.4-latest
profiles:
- all
ports:
@ -164,7 +164,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-web-apache-pgsql:
image: zabbix/zabbix-web-apache-pgsql:ubuntu-trunk
image: zabbix/zabbix-web-apache-pgsql:ubuntu-5.4-latest
profiles:
- all
ports:
@ -219,7 +219,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-web-nginx-pgsql:
image: zabbix/zabbix-web-nginx-pgsql:ubuntu-trunk
image: zabbix/zabbix-web-nginx-pgsql:ubuntu-5.4-latest
ports:
- "80:8080"
- "443:8443"
@ -272,7 +272,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-agent:
image: zabbix/zabbix-agent:ubuntu-trunk
image: zabbix/zabbix-agent:ubuntu-5.4-latest
profiles:
- full
- all
@ -311,7 +311,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-java-gateway:
image: zabbix/zabbix-java-gateway:ubuntu-trunk
image: zabbix/zabbix-java-gateway:ubuntu-5.4-latest
profiles:
- full
- all
@ -340,7 +340,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-snmptraps:
image: zabbix/zabbix-snmptraps:ubuntu-trunk
image: zabbix/zabbix-snmptraps:ubuntu-5.4-latest
profiles:
- full
- all
@ -369,7 +369,7 @@ services:
com.zabbix.os: "ubuntu"
zabbix-web-service:
image: zabbix/zabbix-web-service:ubuntu-trunk
image: zabbix/zabbix-web-service:ubuntu-5.4-latest
profiles:
- full
- all

View File

@ -29,7 +29,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES} \
@ -52,7 +52,7 @@ RUN set -eux && \
make \
openjdk8 && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -29,7 +29,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -50,7 +50,7 @@ RUN set -eux && \
git \
gcc && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -30,7 +30,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -53,7 +53,7 @@ RUN set -eux && \
git \
gcc && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -148,7 +148,7 @@ spec:
spec:
containers:
- name: zabbix-web
image: zabbix/zabbix-web-nginx-mysql:alpine-trunk
image: zabbix/zabbix-web-nginx-mysql:alpine-5.4-latest
imagePullPolicy: Always
ports:
- containerPort: 8080
@ -282,7 +282,7 @@ spec:
spec:
containers:
- name: zabbix-server
image: zabbix/zabbix-server-mysql:alpine-trunk
image: zabbix/zabbix-server-mysql:alpine-5.4-latest
imagePullPolicy: Always
ports:
- containerPort: 10051
@ -331,7 +331,7 @@ spec:
mountPath: /var/lib/zabbix/snmptraps/
readOnly: true
- name: zabbix-snmptraps
image: zabbix/zabbix-snmptraps:alpine-trunk
image: zabbix/zabbix-snmptraps:alpine-5.4-latest
imagePullPolicy: Always
ports:
- containerPort: 1162
@ -364,7 +364,7 @@ spec:
spec:
containers:
- name: zabbix-proxy-sqlite3
image: zabbix/zabbix-proxy-sqlite3:alpine-trunk
image: zabbix/zabbix-proxy-sqlite3:alpine-5.4-latest
imagePullPolicy: Always
ports:
- containerPort: 10051
@ -396,7 +396,7 @@ spec:
spec:
containers:
- name: zabbix-proxy-mysql
image: zabbix/zabbix-proxy-mysql:alpine-trunk
image: zabbix/zabbix-proxy-mysql:alpine-5.4-latest
imagePullPolicy: Always
ports:
- containerPort: 10051
@ -439,7 +439,7 @@ spec:
spec:
containers:
- name: zabbix-java-gateway
image: zabbix/zabbix-java-gateway:alpine-trunk
image: zabbix/zabbix-java-gateway:alpine-5.4-latest
imagePullPolicy: Always
ports:
- containerPort: 10052
@ -473,7 +473,7 @@ spec:
spec:
containers:
- name: zabbix-agent
image: zabbix/zabbix-agent:alpine-trunk
image: zabbix/zabbix-agent:alpine-5.4-latest
imagePullPolicy: Always
resources:
limits:

View File

@ -52,7 +52,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES} \
@ -81,7 +81,7 @@ RUN set -eux && \
pcre-dev \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -81,7 +81,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -111,7 +111,7 @@ RUN set -eux && \
git \
unixODBC-devel && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -64,7 +64,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/var/lib/snmp/mibs/ietf:/var/lib/snmp/mibs/iana:/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -95,7 +95,7 @@ RUN set -eux && \
git \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -50,7 +50,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -80,7 +80,7 @@ RUN set -eux && \
make \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -78,7 +78,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -108,7 +108,7 @@ RUN set -eux && \
git \
unixODBC-devel && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -62,7 +62,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/var/lib/snmp/mibs/ietf:/var/lib/snmp/mibs/iana:/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -93,7 +93,7 @@ RUN set -eux && \
git \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -56,7 +56,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES} \
@ -85,7 +85,7 @@ RUN set -eux && \
make \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -86,7 +86,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -116,7 +116,7 @@ RUN set -eux && \
git \
unixODBC-devel && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -69,7 +69,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/var/lib/snmp/mibs/ietf:/var/lib/snmp/mibs/iana:/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -100,7 +100,7 @@ RUN set -eux && \
git \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -56,7 +56,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES} \
@ -86,7 +86,7 @@ RUN set -eux && \
make \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -85,7 +85,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -115,7 +115,7 @@ RUN set -eux && \
git \
unixODBC-devel && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -69,7 +69,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm MIBDIRS=/var/lib/snmp/mibs/ietf:/var/lib/snmp/mibs/iana:/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL \
@ -100,7 +100,7 @@ RUN set -eux && \
git \
unixodbc-dev && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \

View File

@ -59,7 +59,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -75,7 +75,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -51,7 +51,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -70,7 +70,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -56,7 +56,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -73,7 +73,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -58,7 +58,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -74,7 +74,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -51,7 +51,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -70,7 +70,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -56,7 +56,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -73,7 +73,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -52,7 +52,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -69,7 +69,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -43,7 +43,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -62,7 +62,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -67,7 +67,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -84,7 +84,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -51,7 +51,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -68,7 +68,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -43,7 +43,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -62,7 +62,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -67,7 +67,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -84,7 +84,7 @@ RUN set -eux && \
gettext \
git && \
cd /usr/share/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
mkdir /usr/share/zabbix/ && \
cp -R /usr/share/zabbix-${ZBX_VERSION}/ui/* /usr/share/zabbix/ && \
rm -rf /usr/share/zabbix-${ZBX_VERSION}/ && \

View File

@ -28,7 +28,7 @@ RUN set -eux && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -47,7 +47,7 @@ RUN set -eux && \
git \
pkgconf && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \

View File

@ -33,7 +33,7 @@ RUN set -eux && \
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -52,7 +52,7 @@ RUN set -eux && \
golang \
git && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \

View File

@ -46,7 +46,7 @@ RUN set -eux && \
rm -rf /var/lib/apt/lists/*
ARG MAJOR_VERSION=5.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES}
@ -66,7 +66,7 @@ RUN set -eux && \
g++ \
golang && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \

View File

@ -3,7 +3,7 @@ MAINTAINER Alexey Pustovalov <alexey.pustovalov@zabbix.com>
ARG MAJOR_VERSION=5.4
ARG RELEASE=0
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git
ENV TERM=xterm ZBX_VERSION=${ZBX_VERSION} ZBX_SOURCES=${ZBX_SOURCES} \
@ -144,7 +144,7 @@ RUN set -eux && REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstr
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
cd /tmp/ && \
git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
cd /tmp/zabbix-${ZBX_VERSION} && \
zabbix_revision=`git rev-parse --short HEAD` && \
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \