Skip to content

Commit

Permalink
Fix build and launch issues for the compiled-in example (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilmour authored Feb 16, 2020
1 parent fa6c943 commit b598f4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion examples/cpp-tracing/compiled-in/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions examples/cpp-tracing/compiled-in/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ services:
- 'DD_APM_ENABLED=true'
- DD_API_KEY
image: 'datadog/agent'
ports:
- "127.0.0.1:8126:8126"

0 comments on commit b598f4b

Please sign in to comment.