forked from knative-extensions/eventing-kafka-broker
-
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.
Fix labels in static hermetic images (#1405)
Co-authored-by: Christoph Stäbler <[email protected]>
- Loading branch information
1 parent
c4b8469
commit e5cd862
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
ARG JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 | ||
ARG JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime | ||
ARG DEPS_IMAGE | ||
ARG VERSION="" | ||
|
||
FROM $DEPS_IMAGE AS deps | ||
|
||
|
@@ -36,13 +35,15 @@ RUN mvn -Dmaven.repo.local=/third_party/maven --offline package -pl=dispatcher-l | |
RUN mkdir /app && cp /build/dispatcher-loom/target/dispatcher-loom-1.0-SNAPSHOT.jar /app/app.jar | ||
|
||
FROM $JAVA_RUNTIME AS running | ||
ARG VERSION="" | ||
|
||
USER 185 | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-dispatcher-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8" \ | ||
version=$VERSION \ | ||
release=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Dispatcher" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Dispatcher" \ | ||
|
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 |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
ARG JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21 | ||
ARG JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime | ||
ARG DEPS_IMAGE | ||
ARG VERSION="" | ||
|
||
FROM $DEPS_IMAGE AS deps | ||
|
||
|
@@ -36,13 +35,15 @@ RUN mvn -Dmaven.repo.local=/third_party/maven --offline package -pl=receiver-loo | |
RUN mkdir /app && cp /build/receiver-loom/target/receiver-loom-1.0-SNAPSHOT.jar /app/app.jar | ||
|
||
FROM $JAVA_RUNTIME AS running | ||
ARG VERSION="" | ||
|
||
USER 185 | ||
|
||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-receiver-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-receiver-rhel8" \ | ||
version=$VERSION \ | ||
release=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Receiver" \ | ||
maintainer="[email protected]" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Receiver" \ | ||
|