看着Google Cloud Build的yarn构建器的源代码,我想知道为什么建议使用构建器而不是指定入口点。
https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/yarn
基本上
steps
- name: 'gcr.io/cloud-builders/yarn'
args:
- installvs
steps:
- name: node:10
entrypoint: yarn
args:
- install是不是因为云构建器是在Google cloud Container Registry注册的,从Google Cloud build中读取更快?
发布于 2020-02-17 18:00:05
是的,你被纠正了。实际上,建议使用构建器,因为使用构建器从Container Registry读取数据会更快。
如代码所示,直接从yarn引用Container,这将使访问速度比使用入口点更快。
如果这些信息对你有帮助,请让我知道!
https://stackoverflow.com/questions/60241498
复制相似问题