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
-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