From 3ba4806e503089906b2a0952f1d7aae9648fc30c Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Tue, 19 Apr 2022 13:59:41 +0000 Subject: [SECURITY] Bump golang image version for xtesting-security Fixes docker image build issue related with too old golang version. Issue-ID: INT-2105 Signed-off-by: Michal Jagiello Change-Id: I722d2803cafb56a2768c54e20fd47d8e9a7fdaae --- security/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/docker/Dockerfile') diff --git a/security/docker/Dockerfile b/security/docker/Dockerfile index 89a04c5..5d5d665 100644 --- a/security/docker/Dockerfile +++ b/security/docker/Dockerfile @@ -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 -- cgit 1.2.3-korg