diff --git a/openshift/ci-operator/knative-images/eventmesh/Dockerfile b/openshift/ci-operator/knative-images/eventmesh/Dockerfile index 99145d28..7307ec26 100755 --- a/openshift/ci-operator/knative-images/eventmesh/Dockerfile +++ b/openshift/ci-operator/knative-images/eventmesh/Dockerfile @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal FROM $GO_BUILDER as builder +WORKDIR /workspace COPY . . ENV CGO_ENABLED=1 @@ -16,6 +17,7 @@ FROM $GO_RUNTIME ARG VERSION=knative-v1.15 COPY --from=builder /usr/bin/main /usr/bin/eventmesh +COPY LICENSE /licenses/ USER 65532 diff --git a/openshift/ci-operator/knative-images/migrate/Dockerfile b/openshift/ci-operator/knative-images/migrate/Dockerfile index b5b09b66..4ab634f3 100755 --- a/openshift/ci-operator/knative-images/migrate/Dockerfile +++ b/openshift/ci-operator/knative-images/migrate/Dockerfile @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal FROM $GO_BUILDER as builder +WORKDIR /workspace COPY . . ENV CGO_ENABLED=1 @@ -16,6 +17,7 @@ FROM $GO_RUNTIME ARG VERSION=knative-v1.15 COPY --from=builder /usr/bin/main /usr/bin/migrate +COPY LICENSE /licenses/ USER 65532 diff --git a/openshift/ci-operator/knative-test-images/eventshub/Dockerfile b/openshift/ci-operator/knative-test-images/eventshub/Dockerfile index 87ac4886..91f552d0 100755 --- a/openshift/ci-operator/knative-test-images/eventshub/Dockerfile +++ b/openshift/ci-operator/knative-test-images/eventshub/Dockerfile @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal FROM $GO_BUILDER as builder +WORKDIR /workspace COPY . . ENV CGO_ENABLED=1 @@ -16,6 +17,7 @@ FROM $GO_RUNTIME ARG VERSION=knative-v1.15 COPY --from=builder /usr/bin/main /usr/bin/eventshub +COPY LICENSE /licenses/ USER 65532