mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Bump go version to 1.22.3
This commit is contained in:
committed by
Dan Christian Bogos
parent
37b0a154a4
commit
75694bd75d
@@ -74,7 +74,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
|
||||
|
||||
|
||||
@@ -145,8 +145,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:
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
||||
module github.com/cgrates/cgrates
|
||||
|
||||
go 1.22.1
|
||||
go 1.22.3
|
||||
|
||||
// replace github.com/cgrates/radigo => ../radigo
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Define global variables
|
||||
%global version 0.11.0~dev
|
||||
%global go_version 1.22.0
|
||||
%global go_version 1.22.3
|
||||
|
||||
# Define system paths
|
||||
%define debug_package %{nil}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Define global variables
|
||||
%global version 0.11.0~dev
|
||||
%global go_version 1.22.0
|
||||
%global go_version 1.22.3
|
||||
%global git_commit %(echo $gitLastCommit)
|
||||
%global releaseTag %(echo $rpmTag)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user