mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Bump go version
This commit is contained in:
committed by
Dan Christian Bogos
parent
29c570b935
commit
52e879b505
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user