mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated to go.mod
This commit is contained in:
committed by
Dan Christian Bogos
parent
ca02787e10
commit
e86a0c77f0
@@ -28,9 +28,6 @@ RUN useradd -c CGRateS -d /var/run/cgrates -s /bin/false -r cgrates
|
||||
# install golang
|
||||
RUN wget -qO- https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz | tar xzf - -C /root/
|
||||
|
||||
#install glide
|
||||
RUN GOROOT=/root/go GOPATH=/root/code /root/go/bin/go get github.com/Masterminds/glide
|
||||
|
||||
#install oh-my-zsh
|
||||
RUN TERM=xterm sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"; exit 0
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ export GOROOT=/root/go; export GOPATH=/root/code; export PATH=$GOROOT/bin:$GOPAT
|
||||
|
||||
# build and install cgrates
|
||||
cd /root/cgr
|
||||
#glide -y devel.yaml install
|
||||
./build.sh
|
||||
|
||||
# create cgr-engine and cgr-loader link
|
||||
|
||||
@@ -13,8 +13,6 @@ RUN useradd -c CGRateS -d /var/run/cgrates -s /bin/false -r cgrates
|
||||
# install golang
|
||||
RUN wget -qO- https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz | tar xzf - -C /root/
|
||||
|
||||
#install glide
|
||||
RUN GOROOT=/root/go GOPATH=/root/code /root/go/bin/go get github.com/Masterminds/glide
|
||||
|
||||
#install oh-my-zsh
|
||||
RUN TERM=xterm sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"; exit 0
|
||||
@@ -31,8 +29,6 @@ RUN mkdir -p /root/code/src/github.com/cgrates; cd /root/code/src/github.com/cgr
|
||||
# create link to cgrates dir
|
||||
RUN ln -s /root/code/src/github.com/cgrates/cgrates /root/cgr
|
||||
|
||||
# get deps
|
||||
RUN cd /root/cgr; GOROOT=/root/go GOPATH=/root/code PATH=$GOROOT/bin:$GOPATH/bin:$PATH glide install
|
||||
|
||||
# build cgrates
|
||||
RUN cd /root/cgr; GOROOT=/root/go GOPATH=/root/code PATH=$GOROOT/bin:$GOPATH/bin:$PATH ./build.sh
|
||||
|
||||
Reference in New Issue
Block a user