github.com/dean7474/operator-registry@v1.21.1-0.20220418203638-d4717f98c2e5/upstream-example.Dockerfile (about) 1 FROM quay.io/operator-framework/upstream-registry-builder as builder 2 3 COPY manifests manifests 4 RUN /bin/initializer -o ./bundles.db 5 6 FROM scratch 7 COPY ["nsswitch.conf", "/etc/nsswitch.conf"] 8 COPY --from=builder /bundles.db /bundles.db 9 COPY --from=builder /bin/registry-server /registry-server 10 COPY --from=builder /bin/grpc_health_probe /bin/grpc_health_probe 11 EXPOSE 50051 12 ENTRYPOINT ["/registry-server"] 13 CMD ["--database", "bundles.db"]