mjg*_*lag 2 google-cloud-platform google-cloud-build
RUN cat /proc/sys/fs/inotify/max_user_watches
是524288
对码头工人的MacRUN cat /proc/sys/fs/inotify/max_user_watches
是8192
在谷歌云构建计划的多克请参阅https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers#the-technical-details以供参考。
Google Cloud Build 以特权模式运行 docker 容器,因此您只需将此步骤添加到cloudbuild.yaml
.
- name: 'ubuntu'
args: ['sh', '-c', 'sysctl fs.inotify.max_user_watches=524288']
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1385 次 |
最近记录: |