You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,7 +128,7 @@ A buildpack must contain a `buildpack.toml` file in its root directory.
129
128
### Example
130
129
131
130
```
132
-
api = "0.7"
131
+
api = "0.8"
133
132
134
133
[buildpack]
135
134
id = "example.com/python"
@@ -142,7 +141,7 @@ id = "io.buildpacks.stacks.bionic"
142
141
### Schema
143
142
144
143
The schema is as follows:
145
-
-**`api`**_(string, required, current: `0.7`)_\
144
+
-**`api`**_(string, required, current: `0.8`)_\
146
145
The Buildpack API version the buildpack adheres to. Used to ensure [compatibility](#api-compatibility) against
147
146
the [lifecycle][lifecycle].
148
147
@@ -268,7 +267,7 @@ The NPM buildpack could write the following to the build plan, if the buildpack
268
267
name = "node"
269
268
```
270
269
271
-
If, looking in the `package.json` file, the NPM buildpack see a specific version of `node` requested in the [engines](https://docs.npmjs.com/files/package.json#engines) field (e.g. `14.1`), it may write the following to the build plan:
270
+
If, looking in the `package.json` file, the NPM buildpack sees a specific version of `node` requested in the [engines](https://docs.npmjs.com/files/package.json#engines) field (e.g. `14.1`), it may write the following to the build plan:
See the [spec release](https://github.com/buildpacks/spec/releases/tag/buildpack%2Fv0.8) for buildpack API 0.8 for the full list of changes and further details.
10
+
11
+
### Process-Specific Working Directory
12
+
13
+
Buildpacks may specify the working directory for a process by setting the `working-dir` field on the process in [`launch.toml`](https://github.com/buildpacks/spec/blob/buildpack/0.8/buildpack.md#launchtoml-toml).
14
+
15
+
Prior to this, all processes ran from the app directory (`CNB_APP_DIR`).
16
+
Running a process from a different directory typically involved running a shell to execute a `cd` command and then start the process, like:
`pack` can be installed via [Homebrew](https://brew.sh/):
39
-
39
+
40
40
```bash
41
41
brew install buildpacks/tap/pack
42
42
```
@@ -59,7 +59,7 @@
59
59
- &manually
60
60
name: Manually
61
61
content: |
62
-
To manually install `pack`, visit the [releases page on GitHub](https://github.com/buildpacks/pack/releases).
62
+
To manually install `pack`, visit the [releases page on GitHub](https://github.com/buildpacks/pack/releases).
63
63
1. Download the `.tgz` or `.zip` file for your platform
64
64
2. Extract the `pack` binary
65
65
3. (Optional) Add the directory containing `pack` to `PATH`
@@ -68,6 +68,19 @@
68
68
methods:
69
69
- *container
70
70
- *homebrew
71
+
- name: Script Install
72
+
content: |
73
+
The following command will download the latest version of `pack` from [GitHub](https://github.com/buildpacks/pack/releases) and install it in `/usr/local/bin/`.
0 commit comments