Skip to content

Commit fbbe263

Browse files
fix: add the initial step for the devfile registry guide
Signed-off-by: Pratik Mahalle <[email protected]>
1 parent d70e5c2 commit fbbe263

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

libs/docs/src/docs/no-version/building-a-custom-devfile-registry.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ your cloud or cluster to form the devfile registry.
6969

7070
### Procedure
7171

72-
1. Run `./build_image.sh <path-to-devfile-registry-folder>` to build a
72+
1. Navigate to the `build-tools/` directory that contains the registry build scripts (for example, `devfile/registry-support/build-tools`), where `build_image.sh` is located.
73+
74+
2. Run `./build_image.sh <path-to-devfile-registry-folder>` to build a
7375
devfile registry repository.
7476

75-
2. In a multi-stage Docker build, add a Dockerfile to your devfile
77+
3. In a multi-stage Docker build, add a Dockerfile to your devfile
7678
registry repository. Make sure the Dockerfile contains the
7779
following:
7880

@@ -95,7 +97,7 @@ your cloud or cluster to form the devfile registry.
9597
COPY --from=builder /build/stacks /stacks
9698
```
9799
98-
3. Run `docker build -t devfile-index` to build the devfile registry
100+
4. Run `docker build -t devfile-index` to build the devfile registry
99101
into a container image.
100102
101103
The build script builds the index generator, generates the `index.json`

0 commit comments

Comments
 (0)