Skip to content

Commit 70820f5

Browse files
author
Natalie Arellano
committed
Update pack config
Signed-off-by: Natalie Arellano <[email protected]>
1 parent 235c306 commit 70820f5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

content/docs/extension-author-guide/create-extension/build-dockerfile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Successfully built image hello-extensions
8383
### See the image fail to run
8484

8585
```
86-
docker run hello-extensions
86+
docker run --rm hello-extensions
8787
```
8888

8989
You should see:

content/docs/extension-author-guide/create-extension/run-dockerfile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Successfully built image hello-extensions
111111

112112
<!-- test:exec -->
113113
```bash
114-
docker run hello-extensions
114+
docker run --rm hello-extensions
115115
```
116116

117117
You should see something akin to:

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,17 @@ pack version
5454

5555
The version should be at least `0.28.0`
5656

57-
### Enable experimental features in pack
57+
### Update pack configuration
5858

5959
<!-- test:exec -->
6060
```bash
6161
pack config experimental true
62+
pack config lifecycle-image --unset
6263
```
6364

65+
As base image extension with Dockerfiles is currently an experimental feature, we must enable it in `pack`.
66+
We unset any custom lifecycle image that may have been provided to ensure that the latest version is used.
67+
6468
### Clone the samples repo
6569

6670
<!-- test:exec -->

0 commit comments

Comments
 (0)