Skip to content

Commit

Permalink
[catalog] Custom Dockerfile for building catalog
Browse files Browse the repository at this point in the history
* In order to use instead of autogenerated index.Dockerfile
* To mitigate operator-framework/operator-registry#619
  • Loading branch information
didierofrivia committed Nov 18, 2022
1 parent c950a3e commit aca0e68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions catalog.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM quay.io/operator-framework/upstream-opm-builder
LABEL operators.operatorframework.io.index.database.v1=/database/index.db
ADD database/index.db /database/index.db
RUN mkdir /registry && chmod 775 /registry
EXPOSE 50051
WORKDIR /registry
ENTRYPOINT ["/bin/opm"]
CMD ["registry", "serve", "--database", "/database/index.db"]

0 comments on commit aca0e68

Please sign in to comment.