[SECURITY] Bump golang image version for xtesting-security 12/128712/3
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 19 Apr 2022 13:59:41 +0000 (13:59 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Wed, 20 Apr 2022 06:38:04 +0000 (06:38 +0000)
Fixes docker image build issue related with
too old golang version.

Issue-ID: INT-2105

Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I722d2803cafb56a2768c54e20fd47d8e9a7fdaae

security/docker/Dockerfile

index 89a04c5..5d5d665 100644 (file)
@@ -1,11 +1,11 @@
-FROM golang:1.17 AS build_yq
+FROM golang:1.18 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.17 AS build_onap
+FROM golang:1.18 AS build_onap
 WORKDIR /opt/onap
 RUN git clone https://git.onap.org/integration --depth 1
 WORKDIR /opt/onap/integration/test/security/sslendpoints