-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathDockerfile.rhtap
28 lines (19 loc) · 1023 Bytes
/
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
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23 AS builder
WORKDIR /go/src/github.com/stolostron/cluster-proxy-addon
COPY . .
RUN make build
RUN make build-anp
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
LABEL \
name="cluster-proxy-addon" \
com.redhat.component="cluster-proxy-addon" \
description="Cluster Proxy Addon allows users to access the managed clusters from a hub cluster" \
io.k8s.description="Cluster Proxy Addon allows users to access the managed clusters from a hub cluster" \
summary="A hub cluster proxy addon" \
io.k8s.display-name="Red Hat Advanced Cluster Management Cluster Proxy Addon" \
io.openshift.tags="mce acm cluster-proxy-addon"
ENV USER_UID=10001
COPY --from=builder /go/src/github.com/stolostron/cluster-proxy-addon/cluster-proxy /
COPY --from=builder /go/src/github.com/stolostron/cluster-proxy-addon/proxy-agent /
COPY --from=builder /go/src/github.com/stolostron/cluster-proxy-addon/proxy-server /
USER ${USER_UID}