Is a Dockerfile necessary for Google Container Builder or should cloudbuild.yaml cover all use cases?

Viewed 2250

Assuming a workflow where all container building happens on Google Container Builder(GCB), is a Dockerfile even necessary?

For example to build custom containers where we would like to have some packages installed or copy files from the local filesystem, I see most examples GCB still using Dockerfile (e.g. https://github.com/GoogleCloudPlatform/cloud-builders ) - is this because its not possible using cloudbuild.yaml?

1 Answers
Related