Grant Limberg fbac205e65 add otel library to ext 3 months ago
..
grpc fbac205e65 add otel library to ext 3 months ago
ubuntuLatest fbac205e65 add otel library to ext 3 months ago
.gitignore fbac205e65 add otel library to ext 3 months ago
Dockerfile fbac205e65 add otel library to ext 3 months ago
Dockerfile.alpine.base fbac205e65 add otel library to ext 3 months ago
Dockerfile.centos fbac205e65 add otel library to ext 3 months ago
Dockerfile.debian.deps fbac205e65 add otel library to ext 3 months ago
README.md fbac205e65 add otel library to ext 3 months ago
build.sh fbac205e65 add otel library to ext 3 months ago

README.md

OpenTelemetry library builder

How to use this build script:

The build script build.sh can be used to build OpenTelemetry and it's dependencies within the desired base image. The final image only contains the necessary files in /.

bash build.sh -b alpine -j ${nproc} -g v1.43.2 -o v1.3.0 -t 0.14.1

# copy to current dir
docker create -ti --name otel otel-cpp-<base_image> bash
docker cp otel:/ ./
docker rm -f otel

docker create -ti --name grpc grpc-<base_image> bash
docker cp grpc:/ ./
docker rm -f grpc