Newbie - Envoy build in Ubuntu 16.04 - Compile Dependencies

427 views
Skip to first unread message

siva....@gmail.com

unread,
Mar 16, 2018, 3:44:38 AM3/16/18
to envoy-users
Hi,

I am evaluating envoyproxy to be added to our infrastructure. Unfortunately docker is not approved in our ecosystem. In an attempt to build envoy from the source, I have hit upon this error

/envoy $ bazel fetch //source/...
<snip>
DEBUG: /envoy/bazel/repositories.bzl:86:9:  External dependency build failed, check above log for errors and ensure all prerequisites at https://github.com/envoyproxy/envoy/blob/master/bazel/README.md#quick-start-bazel-build-for-developers are met.

I understand that certain dependencies are required for envoy to be built - (currently present under /envoy/ci/).

I am new to bazel and I want to build envoyproxy from the cli. I know I am missing something basic. Can somebody point me to the right direction or provide me with some set of commands that I have to execute to build dependencies and ensure that bazel finds them during the main envoy build.

Thanks,
Vinod

siva....@gmail.com

unread,
Mar 16, 2018, 2:01:17 PM3/16/18
to envoy-users
Hi All,

I installed docker and used the below command to build the executable

./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release.server_only'

The executable was found in /tmp/envoy-docker-build/envoy/source/exe

Ref: https://github.com/envoyproxy/envoy/blob/master/ci/README.md

Thanks,
Vinod
Reply all
Reply to author
Forward
0 new messages