diff --git a/Dockerfiles/Dockerfile.konflux b/Dockerfiles/Dockerfile.konflux index 8a7c9b2e8d9d..f4b09c09163e 100644 --- a/Dockerfiles/Dockerfile.konflux +++ b/Dockerfiles/Dockerfile.konflux @@ -41,6 +41,10 @@ RUN CGO_ENABLED=1 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -tags strict ################################################################################ FROM registry.redhat.io/ubi8/ubi-minimal@sha256:33161cf5ec11ea13bfe60cad64f56a3aa4d893852e8ec44b2fd2a6b40cc38539 WORKDIR / + +# needed to pass konflux ecosystem preflight check +COPY LICENSE /licenses/LICENSE + COPY --from=builder /workspace/manager . COPY --chown=1001:0 --from=builder /opt/manifests /opt/manifests # Recursive change all files @@ -58,4 +62,4 @@ LABEL com.redhat.component="odh-operator-container" \ io.openshift.expose-services="" \ io.k8s.display-name="odh-operator" \ io.k8s.description="odh-operator" \ - com.redhat.license_terms="https://www.redhat.com/licenses/Red_Hat_Standard_EULA_20191108.pdf" \ No newline at end of file + com.redhat.license_terms="https://www.redhat.com/licenses/Red_Hat_Standard_EULA_20191108.pdf"