forked from knative/eventing
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: mgencur <[email protected]>
- Loading branch information
1 parent
9945cd3
commit 0864ebe
Showing
29 changed files
with
619 additions
and
224 deletions.
There are no files selected for viewing
30 changes: 22 additions & 8 deletions
30
openshift/ci-operator/knative-images/apiserver_receive_adapter/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/apiserver_receive_adapter. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/apiserver_receive_adapter/kodata && \ | ||
go build -o /usr/bin/main ./cmd/apiserver_receive_adapter && \ | ||
cp -r cmd/apiserver_receive_adapter/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/apiserver_receive_adapter | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-apiserver-receive-adapter-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/appender. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/appender/kodata && \ | ||
go build -o /usr/bin/main ./cmd/appender && \ | ||
cp -r cmd/appender/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/appender | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-appender-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-appender-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Appender" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Appender" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Appender" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
30 changes: 22 additions & 8 deletions
30
openshift/ci-operator/knative-images/channel_controller/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/in_memory/channel_controller. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/in_memory/channel_controller/kodata && \ | ||
go build -o /usr/bin/main ./cmd/in_memory/channel_controller && \ | ||
cp -r cmd/in_memory/channel_controller/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/in_memory/channel_controller | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-in-memory-channel-controller-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-in-memory-channel-controller-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Controller" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Controller" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Controller" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
30 changes: 22 additions & 8 deletions
30
openshift/ci-operator/knative-images/channel_dispatcher/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/in_memory/channel_dispatcher. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/in_memory/channel_dispatcher/kodata && \ | ||
go build -o /usr/bin/main ./cmd/in_memory/channel_dispatcher && \ | ||
cp -r cmd/in_memory/channel_dispatcher/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/in_memory/channel_dispatcher | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-in-memory-channel-dispatcher-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Dispatcher" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Dispatcher" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Dispatcher" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
30 changes: 22 additions & 8 deletions
30
openshift/ci-operator/knative-images/controller/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/controller. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/controller/kodata && \ | ||
go build -o /usr/bin/main ./cmd/controller && \ | ||
cp -r cmd/controller/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/controller | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-controller-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-controller-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Controller" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Controller" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Controller" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
30 changes: 22 additions & 8 deletions
30
openshift/ci-operator/knative-images/event_display/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/event_display. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/event_display/kodata && \ | ||
go build -o /usr/bin/main ./cmd/event_display && \ | ||
cp -r cmd/event_display/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/event_display | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-event-display-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-event-display-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Event Display" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Event Display" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Event Display" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/broker/filter. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/broker/filter/kodata && \ | ||
go build -o /usr/bin/main ./cmd/broker/filter && \ | ||
cp -r cmd/broker/filter/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/broker/filter | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-broker-filter-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-broker-filter-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Broker Filter" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Broker Filter" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Broker Filter" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
30 changes: 22 additions & 8 deletions
30
openshift/ci-operator/knative-images/heartbeats/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/heartbeats. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/heartbeats/kodata && \ | ||
go build -o /usr/bin/main ./cmd/heartbeats && \ | ||
cp -r cmd/heartbeats/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/heartbeats | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-heartbeats-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-heartbeats-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Heartbeats" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Heartbeats" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Heartbeats" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
30 changes: 22 additions & 8 deletions
30
openshift/ci-operator/knative-images/heartbeats_receiver/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# DO NOT EDIT! Generated Dockerfile for cmd/heartbeats_receiver. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p cmd/heartbeats_receiver/kodata && \ | ||
go build -o /usr/bin/main ./cmd/heartbeats_receiver && \ | ||
cp -r cmd/heartbeats_receiver/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/heartbeats_receiver | ||
|
||
FROM $GO_RUNTIME | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
ARG VERSION=knative-v1.15 | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
# Install zoneinfo. | ||
RUN microdnf install tzdata | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-heartbeats-receiver-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-heartbeats-receiver-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Heartbeats Receiver" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Heartbeats Receiver" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Heartbeats Receiver" | ||
|
||
ENTRYPOINT ["/usr/bin/main"] |
Oops, something went wrong.