Skip to content

Commit 94f380e

Browse files
fix: add the initial step for the devfile registry guide (#268)
* fix: add the initial step for the devfile registry guide Signed-off-by: Pratik Mahalle <[email protected]> * docs: add the extra step in the procedure Signed-off-by: Pratik Mahalle <[email protected]> --------- Signed-off-by: Pratik Mahalle <[email protected]>
1 parent d70e5c2 commit 94f380e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,14 @@ 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. Clone the [devfile/registry-support](https://github.com/devfile/registry-support) repository.
73+
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
7377
devfile registry repository.
7478

75-
2. 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
7680
registry repository. Make sure the Dockerfile contains the
7781
following:
7882

@@ -95,7 +99,7 @@ your cloud or cluster to form the devfile registry.
9599
COPY --from=builder /build/stacks /stacks
96100
```
97101
98-
3. Run `docker build -t devfile-index` to build the devfile registry
102+
5. Run `docker build -t devfile-index` to build the devfile registry
99103
into a container image.
100104
101105
The build script builds the index generator, generates the `index.json`

0 commit comments

Comments
 (0)