Change-Id: I5c46e1766f7cc4ebee175212ea3183225865dd28
Signed-off-by: Abdulwahid <abdulwahid.w@nokia.com>
# platform project (RICP).
#
# platform project (RICP).
#
-FROM golang:1.16 as gobuild
+FROM golang:1.22 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
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.22.12
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
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
RUN ./build_vesmgr.sh
# Final, executable and deployable container
RUN ./build_vesmgr.sh
# Final, executable and deployable container
RUN mkdir -p /etc/ves-agent
RUN mkdir -p /etc/ves-agent