mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-20 09:57:43 +02:00
Fixed Ubuntu based Agent2 image building. Go lang min version 1.16
This commit is contained in:
parent
f58ff1d69e
commit
498f3d02ee
@ -58,6 +58,7 @@ LABEL org.opencontainers.image.documentation="https://www.zabbix.com/documentati
|
||||
org.opencontainers.image.source="${ZBX_SOURCES}"
|
||||
|
||||
RUN set -eux && \
|
||||
export PATH=/usr/lib/go-1.16/bin:$PATH && \
|
||||
apt-get -y update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
|
||||
autoconf \
|
||||
@ -69,7 +70,7 @@ RUN set -eux && \
|
||||
pkg-config \
|
||||
git \
|
||||
g++ \
|
||||
golang && \
|
||||
golang-1.16 && \
|
||||
cd /tmp/ && \
|
||||
git -c advice.detachedHead=false clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \
|
||||
cd /tmp/zabbix-${ZBX_VERSION} && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user