containerbuilding / cbi

Container Builder Interface for Kubernetes with support for several backends (Docker, BuildKit, Buildah, kaniko, img, Google Cloud Container Builder, Azure Container Registry Build, OpenShift Source-to-Image...)
Apache License 2.0
243 stars 18 forks source link

Allow specifying multiple context sources #77

Open trusch opened 6 years ago

trusch commented 6 years ago

It would be usefull to be able to specify multiple context sources. With that we could setup a build which pulls its dockerfile and main application from git but additionally loads for example datascience-models from s3 into the build context.

Another usecase would be to have one git repository with multiple folders (each containing a dockerfile and some context) + a common folder which should be part of every build context.

If this is desired I would be able to implement this by myself and would create a PR.

AkihiroSuda commented 6 years ago

Thanks, PR is welcome ( Although I'm more interested in Knative now https://github.com/containerbuilding/cbi/issues/76 )