-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile.rhtap
20 lines (19 loc) · 1.18 KB
/
Dockerfile.rhtap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23 AS builder
WORKDIR /go/src/github.com/open-cluster-management.io/managed-serviceaccount
COPY . .
RUN go env
RUN GOFLAGS='-mod=readonly' make build-bin
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
LABEL \
name="managed-serviceaccount" \
com.redhat.component="managed-serviceaccount" \
description="Managed ServiceAccount is an OCM addon developed for synchronizing ServiceAccount to the \
managed clusters and collecting the tokens from these local service accounts as secret resources back \
to the hub cluster." \
io.k8s.description="Managed ServiceAccount is an OCM addon developed for synchronizing ServiceAccount to the \
managed clusters and collecting the tokens from these local service accounts as secret resources back \
to the hub cluster." \
summary="An OCM addon to collect mangaged serviceaccount tokens to the hub cluster" \
io.k8s.display-name="Red Hat Advanced Cluster Management Managed ServiceAccount" \
io.openshift.tags="mce acm ocm managed-serviceaccount"
COPY --from=builder /go/src/github.com/open-cluster-management.io/managed-serviceaccount/bin/msa /