mitre / heimdall-mongo

A Mongo-based version of Heimdall (Deprecated)
Other
11 stars 1 forks source link

Add support for private gem repos #60

Closed lukemalinowski closed 6 years ago

lukemalinowski commented 6 years ago

docker builds need some support for private gem repos due to inspec tools, easiest fix is ENV vars, they're easy to change and inherently difficult to commit by accident.

lukemalinowski commented 6 years ago

Fixing issue by passing environment variables at build time harms our ability to hand out prebuilt images as the variables show up in docker history 'heimdall_web' for saved images.

lukemalinowski commented 6 years ago

Fix by using local cloned directories, see .gitlab-ci.yml's interaction with Gemfile for how we change a remote git repo with a local path repo