Updated Golang to 1.22 version on Ubuntu

This commit is contained in:
Alexey Pustovalov 2024-08-14 19:48:54 +09:00
parent d4e3edc5ee
commit 66dc8bd6cd

View File

@ -6,7 +6,7 @@ ARG ZBX_VERSION=${MAJOR_VERSION}.33
ENV TERM=xterm \
ZBX_VERSION=${ZBX_VERSION} \
PATH=/usr/lib/go-1.21/bin:$PATH
PATH=/usr/lib/go-1.22/bin:$PATH
LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zabbix.com>" \
org.opencontainers.image.description="Zabbix build base image contains all required packages to build Zabbix images" \
@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
pkg-config \
gettext \
git \
golang-1.21 \
golang-1.22 \
unzip \
unixodbc-dev \
zlib1g-dev" && \