File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ FROM openshift/origin-release:golang-1.10 as builder
3+ WORKDIR /go/src/github.com/operator-framework/operator-marketplace
4+ COPY . .
5+ RUN make osbs-build
6+
7+ FROM alpine:3.6
8+ RUN useradd marketplace-operator
9+ USER marketplace-operator
10+ COPY --from=builder /go/src/github.com/operator-framework/operator-marketplace/tmp/_output/bin/marketplace-operator /usr/bin
11+
12+ LABEL io.k8s.display-name="OpenShift Marketplace Operator" \
13+ io.k8s.description="This is a component of OpenShift Container Platform and manages the OpenShift Marketplace." \
14+ io.openshift.tags="openshift,marketplace" \
15+ maintainer="AOS Marketplace <aos-marketplace@redhat.com>"
16+
17+ # entrypoint specified in operator.yaml as `marketplace-operator`
18+ CMD ["/usr/bin/marketplace-operator" ]
Original file line number Diff line number Diff line change 1+ # !/usr/bin/env bash
2+
3+ all : osbs-build
4+
5+ osbs-build :
6+ # hack/build.sh
7+ ./tmp/build/build.sh
You can’t perform that action at this time.
0 commit comments