build-packages

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL