strongdm / comply

Compliance automation framework, focused on SOC2
https://comply.strongdm.com
Apache License 2.0
1.33k stars 248 forks source link

Run `comply build` inside docker container error #131

Open DevopsMercenary opened 1 year ago

DevopsMercenary commented 1 year ago

Pulled down the latest docker container as per the readme

$ docker pull strongdm/comply
Using default tag: latest
latest: Pulling from strongdm/comply
Digest: sha256:8093725c7020f8c31e10db2561e31be45ed64f63211e29272bb0a49bf3f641a1
Status: Image is up to date for strongdm/comply:latest
docker.io/strongdm/comply:latest

as per the readme, I started the container

$ docker run --rm -v "$PWD":/source -p 4000:4000 -it strongdm/comply
root@25eb703b7b71:/source#

tried a comply build and got the following error

root@25eb703b7b71:/source# comply build
templates/index.ace -> output/index.html

2023/02/06 13:17:33 build failed: error during build: unable to preprocess: error looking up git branch: exec: "git": executable file not found in $PATH
root@25eb703b7b71:/source#
iancoxey commented 1 year ago

Hi @DevopsMercenary , Thank you for raising this issue, we'll take a look right away. Thank you, Ian