Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to build with Docker container #13

Merged
merged 26 commits into from
Dec 25, 2017
Merged

Support to build with Docker container #13

merged 26 commits into from
Dec 25, 2017

Conversation

flier
Copy link
Owner

@flier flier commented Aug 17, 2017

Support to build with Docker container

@flier
Copy link
Owner Author

flier commented Aug 17, 2017

replace PR #9 Add a Dockerfile for project

@codefromthecrypt
Copy link

codefromthecrypt commented Aug 17, 2017 via email

ci/README.md Outdated
@@ -0,0 +1,29 @@
# Developer use of CI Docker images

Two flavors of Envoy Docker images, based on Ubuntu and CentOS Linux, are built.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to say envoy here?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, just copy the text form Envoy :)

ci/README.md Outdated

```sh
$ cd ci
$ ./build-image.sh # Wait patiently for quite some time

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this emit something to console when complete? Does a built binary exist at a known path on the image when complete? Answers to these questions could be in this README

@codefromthecrypt
Copy link

thanks, so I can use this image to test code changes and/or build a binary that can be found at the path dist/zipkin-cpp-0.3.1-Linux-x86_64.tar.gz once the build is done. nice!

@flier
Copy link
Owner Author

flier commented Aug 22, 2017

Sure, but it seems you need use git:develop branch instead of outdated 0.3.1

@codefromthecrypt
Copy link

I will try this locally

@codefromthecrypt
Copy link

wondering if the build also makes the examples? If so, it could be worth mentioning as people could try them (possibly by running the resulting container!)

@codefromthecrypt
Copy link

slight glitch running locally as it fails a unit test

$ ./build-dist.sh git:develop
--snip--
QueueImpl.cpp:(.text._ZN7RdKafka9QueueImplD1Ev[_ZN7RdKafka9QueueImplD1Ev]+0x39): undefined reference to `rd_kafka_queue_destroy'
collect2: error: ld returned 1 exit status
make[2]: *** [test/unittest] Error 1
make[1]: *** [test/CMakeFiles/unittest.dir/all] Error 2
make: *** [all] Error 2
test/CMakeFiles/unittest.dir/build.make:190: recipe for target 'test/unittest' failed
CMakeFiles/Makefile2:1091: recipe for target 'test/CMakeFiles/unittest.dir/all' failed
Makefile:140: recipe for target 'all' failed

@flier
Copy link
Owner Author

flier commented Aug 22, 2017

QueueImpl.cpp:(.text._ZN7RdKafka9QueueImplD1Ev[_ZN7RdKafka9QueueImplD1Ev]+0x39): undefined reference to `rd_kafka_queue_destroy'

Seems caused by missing librdkafka C library, it should be fixed in feature/docker-build branch

You may try to use the feature/docker-build branch

$ ./build-dist.sh git:feature/docker-build

@flier flier merged commit 5527d8a into develop Dec 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants