-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile.rhel7
25 lines (19 loc) · 1.69 KB
/
Dockerfile.rhel7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM openshift/origin-release:golang-1.10 as builder
WORKDIR /go/src/github.com/aerogear/ups-config-operator
COPY . .
RUN go build -o ups-config-operator ./cmd/server/main.go
FROM rhel7:latest
COPY --from=builder /go/src/github.com/aerogear/ups-config-operator/ups-config-operator /usr/bin/
USER 1001
EXPOSE 3000
ENTRYPOINT ["/usr/bin/ups-config-operator"]
LABEL com.redhat.component="mobile-ups-config-operator-container" \
io.k8s.display-name="Mobile UnifiedPush Config Operator" \
io.k8s.description="This is an Operator that keeps variants in the Unifiedpush Server in sync with your mobile project on Openshift. It allows you to use bindings to create variants for your mobile clients, monitors those variants and keeps them in sync should they be deleted on either UPS or Openshift. When creating new variants this Operator will also annotate your mobile clients with all the information required for the mobile UI." \
description="This is an Operator that keeps variants in the Unifiedpush Server in sync with your mobile project on Openshift. It allows you to use bindings to create variants for your mobile clients, monitors those variants and keeps them in sync should they be deleted on either UPS or Openshift. When creating new variants this Operator will also annotate your mobile clients with all the information required for the mobile UI." \
summary="Operator to sync UnifiedPush Server Variants with Mobile Clients" \
usage="This image is intended to be used on OpenShift to work with mobile apps and cloud services" \
maintainer="Red Hat Mobile team" \
io.openshift.tags="mobile" \
name="mobile-1-tech-preview/mobile-ups-config-operator" \
version="0.2.3"