-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathDockerfile.rhtap
31 lines (25 loc) · 1.57 KB
/
Dockerfile.rhtap
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
26
27
28
29
30
31
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23 AS builder
WORKDIR /go/src/github.com/stolostron/multicloud-operators-foundation
COPY . .
ENV GO_PACKAGE github.com/stolostron/multicloud-operators-foundation
RUN make build --warn-undefined-variables
RUN make build-e2e --warn-undefined-variables
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
ENV USER_UID=10001 \
USER_NAME=acm-foundation
LABEL \
name="multicloud-operators-foundation" \
com.redhat.component="multicloud-operators-foundation" \
description="Stolostron Foundation supports some foundational components based ManagedCluster for \
MultiCluster Engine (MCE) and Advanced Cluster Management (ACM)." \
io.k8s.description="Stolostron Foundation supports some foundational components based ManagedCluster \
for MultiCluster Engine (MCE) and Advanced Cluster Management (ACM)." \
summary="A foundational component based ManagedCluster" \
io.k8s.display-name="Red Hat Advanced Cluster Management Multicloud Operators Foundation" \
io.openshift.tags="mce acm multicloud-operators-foundation"
COPY --from=builder /go/src/github.com/stolostron/multicloud-operators-foundation/proxyserver /
COPY --from=builder /go/src/github.com/stolostron/multicloud-operators-foundation/controller /
COPY --from=builder /go/src/github.com/stolostron/multicloud-operators-foundation/webhook /
COPY --from=builder /go/src/github.com/stolostron/multicloud-operators-foundation/agent /
COPY --from=builder /go/src/github.com/stolostron/multicloud-operators-foundation/e2e.test /
USER ${USER_UID}