source-repositories: git is a build-only dependency

Git is a build-time dependency that should not end up in the final
image should source-repositories be the only element requiring it at
image build time.

Change-Id: Id0798c0a753f893d02c2d13fddea0c04b28cb7ca
This commit is contained in:
Carlos Goncalves 2020-08-11 15:49:13 +02:00
parent 1291dcba51
commit 3c65025559

View File

@ -1,5 +1,4 @@
# Git isn't a dependency of this element, but is a dependency of pbr
# if you are doing pip install on a git cloned directory, because this
# looks to be a fairly common pattern it makes sense to have git on the
# target image
# if you are doing pip install on a git cloned directory
git:
build-only: True