Bump go version

This commit is contained in:
ionutboangiu
2024-05-17 13:15:12 +03:00
committed by Dan Christian Bogos
parent 29c570b935
commit 52e879b505
5 changed files with 7 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
---
go_version: "1.22.0"
go_version: '1.22.3'
go_platform: linux
go_arch: amd64
go_tarball: go{{ go_version }}.{{ go_platform }}-{{ go_arch }}.tar.gz
go_download_url: https://dl.google.com/go/{{ go_tarball }}
go_checksum: "f6c8a87aa03b92c4b0bf3d558e28ea03006eb29db78917daec5cfb6ec1046265"
go_checksum: '8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36'
install_go: true

View File

@@ -76,7 +76,7 @@ RUN apt-get clean && \
RUN touch /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
RUN chmod 777 /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.22.0.linux-amd64.tar.gz" --progress=dot:giga
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.22.3.linux-amd64.tar.gz" --progress=dot:giga
RUN tar -C /usr/local -xzf go.tgz
RUN rm go.tgz

View File

@@ -112,8 +112,8 @@ To install the latest Go version at the time of writing this documentation, run:
# sudo dnf install -y wget tar for .rpm distros
sudo rm -rf /usr/local/go
cd /tmp
wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
wget https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
Installation:

View File

@@ -1,6 +1,6 @@
# Define global variables
%global version 0.10.3
%global go_version 1.22.0
%global go_version 1.22.3
# Define system paths
%global _logdir /var/log/%name

View File

@@ -2,7 +2,7 @@
%global version 0.10.3
%global git_commit %(echo $gitLastCommit)
%global releaseTag %(echo $rpmTag)
%global go_version 1.22.0
%global go_version 1.22.3
# Define system paths
%global _logdir /var/log/%name