From d3cafbaa433a5f806cef34a7a0a6b8a8983766e7 Mon Sep 17 00:00:00 2001 From: Ritika Patil <94649368+riragh@users.noreply.github.com> Date: Fri, 16 Jun 2023 09:11:34 -0500 Subject: [PATCH] feat: (IAC-1035) Remediate high security vulnerabilities (#322) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 43eb48cc..082ed9fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ COPY --from=terraform /bin/terraform /bin/terraform COPY . . RUN apk update \ - && apk --no-cache add git openssh \ + && apk upgrade \ + && apk add --no-cache git openssh \ && curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \ && chmod 755 ./kubectl /viya4-iac-azure/docker-entrypoint.sh \ && mv ./kubectl /usr/local/bin/kubectl \