Skip to content

Instantly share code, notes, and snippets.

@rthallisey
Created January 28, 2020 19:11
Show Gist options
  • Save rthallisey/bef7fd4c2b019c7e7da2dcd4daa359a4 to your computer and use it in GitHub Desktop.
Save rthallisey/bef7fd4c2b019c7e7da2dcd4daa359a4 to your computer and use it in GitHub Desktop.
$PROJECT_ROOT/tools/Dockerfile
FROM quay.io/openshift/origin-operator-registry:latest
COPY deploy/olm-catalog /registry
# Initialize the database
RUN initializer --manifests /registry/$APP_NAME-operator --output bundles.db
ENTRYPOINT ["registry-server"]
CMD ["--database", "bundles.db"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment