From fe1044bab0c0cd88acc7bcd0c3bc470b9430fb16 Mon Sep 17 00:00:00 2001 From: Yusuf Kanchwala Date: Thu, 22 Oct 2020 15:08:34 +0530 Subject: [PATCH] add git binary to terrascan docker image, required by downloader --- build/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 3810b4e40..efffc8585 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -22,7 +22,8 @@ FROM alpine:3.12.0 # create non root user RUN addgroup --gid 101 terrascan && \ - adduser -S --uid 101 --ingroup terrascan terrascan + adduser -S --uid 101 --ingroup terrascan terrascan && \ + apk add --no-cache git # run as non root user USER terrascan