Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Container image carries its license files under `/licenses` and its own `name`,
`vendor`, `maintainer` and related labels, for Red Hat certification.

### Added

- Open-source release of the Nudgebee Node Agent, forked from
Expand Down
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ RUN CGO_ENABLED=1 go build -mod=readonly -ldflags "-extldflags='-Wl,-z,lazy' -X
FROM registry.access.redhat.com/ubi9/ubi-minimal AS runtime

ARG VERSION=unknown
ARG IMAGE_RELEASE=1
# Red Hat certification: name, vendor and maintainer must replace the base image's own
# (HasNoProhibitedLabels rejects "Red Hat" there).
LABEL name="nudgebee-node-agent" \
maintainer="nudgebee" \
vendor="nudgebee" \
version="${VERSION}" \
release="${IMAGE_RELEASE}" \
summary="Nudgebee Node Agent" \
description="Per-node eBPF collector for metrics, logs, traces and profiles, used by the Nudgebee agent."
Comment thread
PrashantBtkl marked this conversation as resolved.
Resolved

# Patch the UBI9 base to the latest package set, then install SSL/TLS libraries
# for HTTPS LLM API tracing. microdnf update clears the fixable RedHat OS CVEs
Expand All @@ -56,4 +66,8 @@ RUN microdnf update -y && \

COPY --from=builder /tmp/src/nudgebee-node-agent /usr/bin/nudgebee-node-agent

# Red Hat certification (HasLicense). The eBPF code compiled into the binary is GPL-2.0,
# the Go code Apache-2.0.
COPY LICENSE NOTICE LICENSES/GPL-2.0.txt /licenses/

ENTRYPOINT ["/usr/bin/nudgebee-node-agent"]