Code Review
/
ric-plt
/
vespamgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Vespa Changes of go.mod and Dockerfile
[ric-plt/vespamgr.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
17bbb25
..
4bdb14c
100755
(executable)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-18,7
+18,7
@@
# platform project (RICP).
#
# platform project (RICP).
#
-FROM golang:1.1
6
as gobuild
+FROM golang:1.1
3
as gobuild
# Install utilities
RUN apt update && apt install -y iputils-ping net-tools curl sudo
# Install utilities
RUN apt update && apt install -y iputils-ping net-tools curl sudo
@@
-31,6
+31,9
@@
WORKDIR $GOPATH/src/VESPA
RUN git clone -b v0.3.0 https://github.com/nokia/ONAP-VESPA.git $GOPATH/src/VESPA
RUN GO111MODULE=on go mod download
RUN git clone -b v0.3.0 https://github.com/nokia/ONAP-VESPA.git $GOPATH/src/VESPA
RUN GO111MODULE=on go mod download
+ENV GOLANG_VERSION 1.13.10
+RUN wget --quiet https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz \
+ && tar xvzf go$GOLANG_VERSION.linux-amd64.tar.gz -C /usr/local
# Install VES Agent
RUN export GOPATH=$HOME/go && \
# Install VES Agent
RUN export GOPATH=$HOME/go && \