diff --git a/libs/docs/src/docs/no-version/building-a-custom-devfile-registry.md b/libs/docs/src/docs/no-version/building-a-custom-devfile-registry.md index c6c898cb..5c87458e 100644 --- a/libs/docs/src/docs/no-version/building-a-custom-devfile-registry.md +++ b/libs/docs/src/docs/no-version/building-a-custom-devfile-registry.md @@ -69,10 +69,14 @@ your cloud or cluster to form the devfile registry. ### Procedure -1. Run `./build_image.sh ` to build a +1. Clone the [devfile/registry-support](https://github.com/devfile/registry-support) repository. + +2. Navigate to the `build-tools/` directory within the cloned repository where `build_image.sh` is located. + +3. Run `./build_image.sh ` to build a devfile registry repository. -2. In a multi-stage Docker build, add a Dockerfile to your devfile +4. In a multi-stage Docker build, add a Dockerfile to your devfile registry repository. Make sure the Dockerfile contains the following: @@ -95,7 +99,7 @@ your cloud or cluster to form the devfile registry. COPY --from=builder /build/stacks /stacks ``` -3. Run `docker build -t devfile-index` to build the devfile registry +5. Run `docker build -t devfile-index` to build the devfile registry into a container image. The build script builds the index generator, generates the `index.json`