github.com/dean7474/operator-registry@v1.21.1-0.20220418203638-d4717f98c2e5/index.Dockerfile (about)

     1  FROM quay.io/operator-framework/upstream-registry-builder AS builder
     2  
     3  FROM scratch
     4  LABEL operators.operatorframework.io.index.database.v1=./index.db
     5  COPY ["nsswitch.conf", "/etc/nsswitch.conf"]
     6  COPY database ./
     7  COPY --from=builder /bin/opm /opm
     8  COPY --from=builder /bin/grpc_health_probe /bin/grpc_health_probe
     9  EXPOSE 50051
    10  ENTRYPOINT ["/opm"]
    11  CMD ["registry", "serve", "--database", "index.db"]