Skip to content

Commit f7f1ab5

Browse files
author
Natalie Arellano
committed
Change all references to installed pack
Signed-off-by: Natalie Arellano <[email protected]>
1 parent dd8fe97 commit f7f1ab5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ weight=404
2323
2. Create the builder:
2424

2525
```
26-
$workspace/pack/out/pack builder create $registry_namespace/extensions-builder \
26+
pack builder create $registry_namespace/extensions-builder \
2727
--config $workspace/samples/builders/alpine/builder.toml \
2828
--publish
2929
```
3030

3131
### Build the application image
3232

3333
```
34-
$workspace/pack/out/pack build hello-extensions \
34+
pack build hello-extensions \
3535
--builder $registry_namespace/extensions-builder \
3636
--lifecycle-image $LIFECYCLE_IMAGE \
3737
--verbose

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ docker build \
3737
2. Create the builder:
3838

3939
```
40-
$workspace/pack/out/pack builder create $registry_namespace/extensions-builder \
40+
pack builder create $registry_namespace/extensions-builder \
4141
--config $workspace/samples/builders/alpine/builder.toml \
4242
--publish
4343
```
4444

4545
### Build the application image
4646

4747
```
48-
$workspace/pack/out/pack build hello-extensions \
48+
pack build hello-extensions \
4949
--builder $registry_namespace/extensions-builder \
5050
--lifecycle-image $LIFECYCLE_IMAGE \
5151
--verbose

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ phase, and defines a launch process called `curl` that runs `curl --version` at
1919

2020
### Create a builder with extensions and publish it
2121

22-
1. Ensure experimental features are enabled: `$workspace/pack/out/pack config experimental true`
22+
1. Ensure experimental features are enabled: `pack config experimental true`
2323

2424
2. Download the latest lifecycle tarball from the GitHub release
2525
page: https://github.com/buildpacks/lifecycle/releases/tag/v0.15.1
@@ -39,22 +39,22 @@ uri = <path to lifecycle tarball in previous step>
3939
6. Create the builder:
4040

4141
```
42-
$workspace/pack/out/pack builder create $registry_namespace/extensions-builder \
42+
pack builder create $registry_namespace/extensions-builder \
4343
--config $workspace/samples/builders/alpine/builder.toml \
4444
--publish
4545
```
4646

4747
### Build the application image
4848

49-
1. Ensure experimental features are enabled: `$workspace/pack/out/pack config experimental true`
49+
1. Ensure experimental features are enabled: `pack config experimental true`
5050

5151
2. Set the lifecycle image for `pack` to use in the untrusted builder workflow (as the trusted workflow that uses
5252
the `creator` is not currently supported): `LIFECYCLE_IMAGE=buildpacksio/lifecycle:0.15.1`
5353

5454
3. Build the application image (note that the "source" directory is effectively ignored in our example):
5555

5656
```
57-
$workspace/pack/out/pack build hello-extensions \
57+
pack build hello-extensions \
5858
--builder $registry_namespace/extensions-builder \
5959
--lifecycle-image $LIFECYCLE_IMAGE \
6060
--pull-policy always \

0 commit comments

Comments
 (0)