[SECURITY] Fix xtesting security docker file 58/131258/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Wed, 28 Sep 2022 08:13:58 +0000 (08:13 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Wed, 28 Sep 2022 08:13:58 +0000 (08:13 +0000)
Use newer version of go and change kubernetes version

Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Issue-ID: INT-2154
Change-Id: I9126942861a126ec81dae79a5439410011c7be2a

security/docker/Dockerfile

index 5d5d665..560ab0c 100644 (file)
@@ -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