Skip to content

Commit

Permalink
Merge pull request #360 from accurics/bugfix/add-git-binary
Browse files Browse the repository at this point in the history
Add git binary to terrascan docker image, required by downloader
  • Loading branch information
Cesar Rodriguez authored Oct 22, 2020
2 parents 935e3b0 + fe1044b commit fd2bf7c
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 fd2bf7c

Please sign in to comment.