Documentation
¶
Overview ¶
Command build-packages creates OpenTelemetry DEB and RPM packages using nfpm.
It replaces the previous FPM-based shell scripts and Docker build container, producing identical packages as pure Go — no Ruby, FPM, or Docker required for package creation itself. Upstream artifacts (libotelinject.so, Java agent JAR, Node.js agent, .NET agent) are still fetched from their respective release channels. Python packages are fetched via pip at build time.
Usage:
go run ./cmd/build-packages -version 1.0.0 -arch amd64 -format deb -output build/packages go run ./cmd/build-packages -version 1.0.0 -arch amd64 -format rpm -output build/packages go run ./cmd/build-packages -version 1.0.0 -arch amd64 -format all -output build/packages go run ./cmd/build-packages -version 1.0.0 -arch amd64 -format deb -component injector -output build/packages
Click to show internal directories.
Click to hide internal directories.