aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-04-19 13:59:41 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-04-20 06:38:04 +0000
commit3ba4806e503089906b2a0952f1d7aae9648fc30c (patch)
treec5ba9738340d2d2ac2285343a95ad2dcbb854e73
parent1b5b1a3dc73431c671971a22abd875cd292c1692 (diff)
[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 <michal.jagiello@t-mobile.pl> Change-Id: I722d2803cafb56a2768c54e20fd47d8e9a7fdaae
-rw-r--r--security/docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
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