Skip to content

Commit

Permalink
add git binary to terrascan docker image, required by downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Kanchwala committed Oct 22, 2020
1 parent 4a5d34d commit fe1044b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe1044b

Please sign in to comment.