diff --git a/examples/cpp-tracing/compiled-in/Dockerfile b/examples/cpp-tracing/compiled-in/Dockerfile index b9020790..3b79d98e 100644 --- a/examples/cpp-tracing/compiled-in/Dockerfile +++ b/examples/cpp-tracing/compiled-in/Dockerfile @@ -20,7 +20,7 @@ RUN get_latest_release() { \ COPY tracer_example.cpp . -RUN g++ -std=c++14 -o tracer_example tracer_example.cpp -ldd_opentracing -lopentracing +RUN g++ -std=c++14 -o tracer_example tracer_example.cpp -I/dd-opentracing-cpp/deps/include -L/dd-opentracing-cpp/deps/lib -ldd_opentracing -lopentracing # Add /usr/local/lib to LD_LIBRARY_PATH RUN ldconfig diff --git a/examples/cpp-tracing/compiled-in/docker-compose.yml b/examples/cpp-tracing/compiled-in/docker-compose.yml index 04c18a1f..0c917028 100644 --- a/examples/cpp-tracing/compiled-in/docker-compose.yml +++ b/examples/cpp-tracing/compiled-in/docker-compose.yml @@ -15,5 +15,3 @@ services: - 'DD_APM_ENABLED=true' - DD_API_KEY image: 'datadog/agent' - ports: - - "127.0.0.1:8126:8126"