Skip to content

Commit ed41a6c

Browse files
author
Natalie Arellano
committed
Temporary changes for pre-release
When both pack & lifecycle are released and the samples are updated, we can revert this commit Signed-off-by: Natalie Arellano <[email protected]>
1 parent 851b2ec commit ed41a6c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

content/docs/extension-author-guide/create-extension/setup-local-environment.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ pack version
5454

5555
The version should be at least `0.28.0`
5656

57+
**Note**: to follow this demo all the way through to the end (including run image extension),
58+
the pack version should be at least `0.30.0-pre2`. Consult the [releases page](https://github.com/buildpacks/pack/releases) for more information.
59+
5760
### Update pack configuration
5861

5962
<!-- test:exec -->
@@ -70,6 +73,7 @@ We unset any custom lifecycle image that may have been provided to ensure that t
7073
<!-- test:exec -->
7174
```bash
7275
git clone https://github.com/buildpacks/samples.git
76+
git checkout runext/update-samples # FIXME: remove when https://github.com/buildpacks/samples/pull/149 is merged
7377
```
7478

7579
<!--+ if false +-->

content/docs/extension-author-guide/create-extension/why-dockerfiles.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ docker run -d --rm -p 5000:5000 registry:2
4343
You can push the builder to any registry of your choice - just ensure that `docker login` succeeds and replace `localhost:5000` in the following examples with your registry namespace -
4444
e.g., `index.docker.io/<username>`.
4545

46+
**Note**: to follow this demo all the way through to the end (including run image extension), you will need a pre-release version of the lifecycle.
47+
* Download the `.tgz` file for your os/arch from the [releases page](https://github.com/buildpacks/lifecycle/releases)
48+
* Add the following lines to `$PWD/samples/builders/alpine/builder.toml`:
49+
50+
```bash
51+
[lifecycle]
52+
uri = <path to .tgz>
53+
```
54+
4655
Create the builder:
4756

4857
<!-- test:exec -->

0 commit comments

Comments
 (0)