From 03c6dfccb7b2ad3dc5313d0fdd558038673923a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20St=C3=A4bler?= Date: Fri, 6 Sep 2024 08:05:21 +0200 Subject: [PATCH] test: fix util image --- openshift/ci-operator/knative-images/func-util/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openshift/ci-operator/knative-images/func-util/Dockerfile b/openshift/ci-operator/knative-images/func-util/Dockerfile index f86c0ff8b0..82b7598ec6 100755 --- a/openshift/ci-operator/knative-images/func-util/Dockerfile +++ b/openshift/ci-operator/knative-images/func-util/Dockerfile @@ -9,7 +9,7 @@ COPY . . ENV CGO_ENABLED=1 ENV GOEXPERIMENT=strictfipsruntime -RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/func-util +RUN GOFLAGS='' go build -tags strictfipsruntime,exclude_graphdriver_btrfs -o /usr/bin/main ./cmd/func-util FROM $GO_RUNTIME @@ -17,14 +17,14 @@ ARG VERSION=knative-nightly RUN microdnf install tzdata socat tar -USER 65532 - COPY --from=builder /usr/bin/main /usr/bin/func-util RUN ln -s /usr/bin/func-util /usr/local/bin/deploy && \ ln -s /usr/bin/func-util /usr/local/bin/scaffold && \ ln -s /usr/bin/func-util /usr/local/bin/s2i +USER 65532 + LABEL \ com.redhat.component="openshift-serverless-1-kn-plugin-func-func-util-rhel8-container" \ name="openshift-serverless-1/kn-plugin-func-func-util-rhel8" \