From ed06c4320b1af457fe0c73c5501e6bc760fdffb4 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Wed, 28 Sep 2022 08:13:58 +0000 Subject: [SECURITY] Fix xtesting security docker file Use newer version of go and change kubernetes version Signed-off-by: Michal Jagiello Issue-ID: INT-2154 Change-Id: I9126942861a126ec81dae79a5439410011c7be2a --- security/docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/docker/Dockerfile b/security/docker/Dockerfile index 5d5d665..560ab0c 100644 --- a/security/docker/Dockerfile +++ b/security/docker/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1.18 AS build_yq +FROM golang:1.19 AS build_yq WORKDIR /go/src/github.com/mikefarah/ RUN git clone https://github.com/mikefarah/yq.git --depth 1 WORKDIR /go/src/github.com/mikefarah/yq RUN go mod tidy RUN CGO_ENABLED=0 go install -a -ldflags '-w -s -extldflags "-static"' -FROM golang:1.18 AS build_onap +FROM golang:1.19 AS build_onap WORKDIR /opt/onap RUN git clone https://git.onap.org/integration --depth 1 WORKDIR /opt/onap/integration/test/security/sslendpoints @@ -14,7 +14,7 @@ RUN CGO_ENABLED=0 go install -a -ldflags '-w -s -extldflags "-static"' FROM opnfv/xtesting:wallaby AS run -ARG KUBERNETES_VERSION="v1.19.11" +ARG KUBERNETES_VERSION="v1.23.8" ARG ONAP_TAG=master ARG ONAP_TESTS_TAG=master -- cgit 1.2.3-korg