Skip to content

Commit

Permalink
fbc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
spotlesstofu committed Feb 3, 2025
1 parent 3ce3eb9 commit 504d9ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fbc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You need v1.46.0 or greater.

Download the binary from [Github releases](https://github.com/operator-framework/operator-registry/releases).

## Add previously released catalogs
## Add a previously released catalog

Set the version of OpenShift you're targeting:
```
Expand Down Expand Up @@ -50,6 +50,12 @@ opm generate dockerfile . \
--builder-image "brew.registry.redhat.io/rh-osbs/openshift-ose-operator-registry-rhel9:${OCP_VERSION}"
```

Patch the Dockerfile to avoid copying in unwanted files:
```diff
-ADD . /configs
+ADD catalog/ /configs
```

## Further reading

- [File-based Catalogs](https://olm.operatorframework.io/docs/reference/file-based-catalogs/) in the Operator Lifecycle Manager (OLM) documentation.

0 comments on commit 504d9ff

Please sign in to comment.