名称
update-buildpack - 更新 buildpack
用法
cf update-buildpack BUILDPACK [-p PATH | -s STACK | --assign-stack NEW_STACK] [-i POSITION] [--rename NEW_NAME] [--enable|--disable] [--lock|--unlock]
TIP
Path should be a zip file, a url to a zip file, or a local directory. Position is a positive integer, sets priority, and is sorted from lowest to highest.
Use
--assign-stack with caution. Associating a buildpack with a stack that it does not support may result in undefined behavior. Additionally, changing this association once made may require a local copy of the buildpack.
选项
- --assign-stack
将堆栈分配给没有堆栈关联的 buildpack
- --disable
禁止 buildpack 用于编译打包
- --enable
支持 buildpack 用于编译打包
- --lock
锁定 buildpack 以阻止更新
- --path, -p
目录或 zip 文件的路径
- --position, -i
buildpack 自动检测期间检查 buildpack 的顺序
- --rename
重命名现有 buildpack
- --stack, -s
指定堆栈以区分同名的 buildpack
- --unlock
解锁 buildpack 以启用更新
另请参阅
buildpacks, create-buildpack, delete-buildpack