Skip to content

Commit 3889446

Browse files
docs: add the extra step in the procedure
Signed-off-by: Pratik Mahalle <[email protected]>
1 parent fbbe263 commit 3889446

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

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

7070
### Procedure
7171

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.
72+
1. Clone the [devfile/registry-support](https://github.com/devfile/registry-support) repository.
7373

74-
2. Run `./build_image.sh <path-to-devfile-registry-folder>` to build a
74+
2. Navigate to the `build-tools/` directory within the cloned repository where `build_image.sh` is located.
75+
76+
3. Run `./build_image.sh <path-to-devfile-registry-folder>` to build a
7577
devfile registry repository.
7678

77-
3. In a multi-stage Docker build, add a Dockerfile to your devfile
79+
4. In a multi-stage Docker build, add a Dockerfile to your devfile
7880
registry repository. Make sure the Dockerfile contains the
7981
following:
8082

@@ -97,7 +99,7 @@ your cloud or cluster to form the devfile registry.
9799
COPY --from=builder /build/stacks /stacks
98100
```
99101
100-
4. Run `docker build -t devfile-index` to build the devfile registry
102+
5. Run `docker build -t devfile-index` to build the devfile registry
101103
into a container image.
102104
103105
The build script builds the index generator, generates the `index.json`

0 commit comments

Comments
 (0)