mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Bump go version
This commit is contained in:
committed by
Dan Christian Bogos
parent
ff971e06c9
commit
f9d3444cc7
@@ -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.3.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.23.1.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN tar -C /usr/local -xzf go.tgz
|
||||
RUN rm go.tgz
|
||||
|
||||
@@ -93,4 +93,4 @@ COPY ./conf/rsyslog.d /etc/rsyslog.d
|
||||
COPY ./conf/redis.conf /etc/redis/redis.conf
|
||||
|
||||
COPY ./docker-entrypoint.sh /usr/local/bin/
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
@@ -142,8 +142,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.3.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz
|
||||
wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.23.1.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.4
|
||||
go 1.23.1
|
||||
|
||||
// replace github.com/cgrates/radigo => /home/dan/go/src/github.com/cgrates/radigo
|
||||
// replace github.com/cgrates/rpcclient => ../rpcclient
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Define global variables
|
||||
%global version 0.10.4
|
||||
%global go_version 1.22.3
|
||||
%global go_version 1.23.1
|
||||
|
||||
# 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.3
|
||||
%global go_version 1.23.1
|
||||
|
||||
# Define system paths
|
||||
%global _logdir /var/log/%name
|
||||
|
||||
Reference in New Issue
Block a user