Skip to content

Commit 2f9fd23

Browse files
committed
Container CPE label
1 parent a53d5e0 commit 2f9fd23

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile-args.downstream

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
BUILDVERSION=1.10.0
2+
BUILDVERSION_Y=1.10

Dockerfile.downstream

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG BUILDVERSION
2+
ARG BUILDVERSION_Y
23

34
# Make kubectl & oc scripts available for copy
45
FROM registry.redhat.io/openshift4/ose-cli-rhel9:v4.18.0-202502040032.p0.ga50d4c0.assembly.stream.el9 as ose-cli
@@ -37,6 +38,7 @@ RUN mkdir -p output
3738
# Create final image from ubi + built binary and command
3839
FROM registry.access.redhat.com/ubi9/ubi:9.6-1758184894
3940
ARG BUILDVERSION
41+
ARG BUILDVERSION_Y
4042

4143
WORKDIR /
4244

@@ -53,7 +55,8 @@ USER 65532:65532
5355
ENTRYPOINT ["/network-observability-cli"]
5456

5557
LABEL com.redhat.component="network-observability-cli"
56-
LABEL name="network-observability-cli"
58+
LABEL name="network-observability/network-observability-cli-rhel9"
59+
LABEL cpe="cpe:/a:redhat:network_observ_optr:$BUILDVERSION_Y::el9"
5760
LABEL io.k8s.display-name="Network Observability CLI"
5861
LABEL io.k8s.description="Network Observability CLI"
5962
LABEL summary="Network Observability CLI"

0 commit comments

Comments
 (0)