Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ your cloud or cluster to form the devfile registry.

### Procedure

1. Run `./build_image.sh <path-to-devfile-registry-folder>` 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 <path-to-devfile-registry-folder>` 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:

Expand All @@ -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`
Expand Down
Loading