From e1b3eb4d7a4f751447e5ca8e34c63be84540815c Mon Sep 17 00:00:00 2001 From: Abdulwahid Date: Tue, 11 Nov 2025 12:05:28 +0000 Subject: [PATCH] RIC-1074: Update base OS to ubuntu22.04 and golang to 1.22 Change-Id: I5c46e1766f7cc4ebee175212ea3183225865dd28 Signed-off-by: Abdulwahid --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c61aded..f77fed9 100755 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ # 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 @@ -31,7 +31,7 @@ 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 -ENV GOLANG_VERSION 1.16 +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 @@ -49,7 +49,7 @@ WORKDIR /go/src/vespamgr RUN ./build_vesmgr.sh # Final, executable and deployable container -FROM ubuntu:20.04 +FROM ubuntu:22.04 RUN mkdir -p /etc/ves-agent -- 2.16.6