diff --git a/content/docs/app-developer-guide/using-inline-buildpacks.md b/content/docs/app-developer-guide/using-inline-buildpacks.md index 713e2d9a2..4ffe75d8c 100644 --- a/content/docs/app-developer-guide/using-inline-buildpacks.md +++ b/content/docs/app-developer-guide/using-inline-buildpacks.md @@ -23,7 +23,7 @@ version = "1.0" id = "me/rake-tasks" [io.buildpacks.group.script] - api = "0.6" + api = "0.10" inline = "rake package" ``` @@ -38,7 +38,7 @@ Inline buildpacks aren't constrained to a single command, however. You can defin id = "me/cleanup" [io.buildpacks.group.script] - api = "0.9" + api = "0.10" inline = """ set -e source scripts/utils.sh diff --git a/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md b/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md index 40c01403e..19d35d510 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md +++ b/content/docs/buildpack-author-guide/create-buildpack/adding-bill-of-materials.md @@ -43,7 +43,7 @@ First, annotate the `buildpack.toml` to specify that it emits CycloneDX: ```toml # Buildpack API version -api = "0.8" +api = "0.10" # Buildpack ID and metadata [buildpack] @@ -144,7 +144,7 @@ EOL cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL diff --git a/content/docs/buildpack-author-guide/create-buildpack/building-blocks-cnb.md b/content/docs/buildpack-author-guide/create-buildpack/building-blocks-cnb.md index 5ad6beb20..c82502ace 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/building-blocks-cnb.md +++ b/content/docs/buildpack-author-guide/create-buildpack/building-blocks-cnb.md @@ -17,7 +17,7 @@ Example: ```bash pack buildpack new examples/node-js \ - --api 0.8 \ + --api 0.10 \ --path node-js-buildpack \ --version 0.0.1 \ --stacks io.buildpacks.samples.stacks.jammy @@ -40,7 +40,7 @@ You will have `node-js-buildpack/buildpack.toml` in your buil ```toml # Buildpack API version -api = "0.8" +api = "0.10" # Buildpack ID and metadata [buildpack] diff --git a/content/docs/buildpack-author-guide/create-buildpack/caching.md b/content/docs/buildpack-author-guide/create-buildpack/caching.md index da4b3676f..1265af90d 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/caching.md +++ b/content/docs/buildpack-author-guide/create-buildpack/caching.md @@ -54,13 +54,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL # our web process [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true # our debug process [[processes]] type = "debug" -command = "node --inspect app.js" +command = ["node", "--inspect", "app.js"] EOL ``` @@ -121,7 +121,7 @@ EOL cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL ``` diff --git a/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md b/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md index 69203e26d..a6ff3a3dd 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md +++ b/content/docs/buildpack-author-guide/create-buildpack/make-app-runnable.md @@ -15,7 +15,7 @@ To make your app runnable, a default start command must be set. You'll need to a cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL @@ -48,7 +48,7 @@ echo -e '[types]\nlaunch = true' > "${CNB_LAYERS_DIR}/node-js.toml" cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL ``` diff --git a/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md b/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md index cf65d2492..66ef24d23 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md +++ b/content/docs/buildpack-author-guide/create-buildpack/make-buildpack-configurable.md @@ -81,7 +81,7 @@ EOL cat >> "${CNB_LAYERS_DIR}/launch.toml" << EOL [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true EOL ``` diff --git a/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md b/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md index c3431cad6..4a2c1fe8f 100644 --- a/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md +++ b/content/docs/buildpack-author-guide/create-buildpack/specify-multiple-process-types.md @@ -16,13 +16,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL # our web process [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true # our debug process [[processes]] type = "worker" -command = "node --inspect app.js" +command = ["node", "--inspect", "app.js"] EOL # ... @@ -58,13 +58,13 @@ cat > "${CNB_LAYERS_DIR}/launch.toml" << EOL # our web process [[processes]] type = "web" -command = "node app.js" +command = ["node", "app.js"] default = true # our debug process [[processes]] type = "debug" -command = "node --inspect app.js" +command = ["node", "--inspect", "app.js"] EOL ```