How to build behind a proxy
dan-bar-dov opened this issue · comments
Describe the bug
The cmake process is trying to download other packages. They all fail when I'm behind a proxy. It is not clear what tool is used to download, but it fails. The environment is set with a correct http/https proxies. wget works, so does curl.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Asciinema
see https://asciinema.org/ for recording video in terminal
** Environment Info **
- operating system
- git hash
- compiler
Additional context
Add any other context about the problem here.
@dan-bar-dov we just use cmake which internally uses git
see 3rdparty.cmake.in template.
If you follow the CMakeLists.txt you'll see a cmake-in-cmake - this is key for reproducibility of binaries, wehre the same link flags and compile flags are passed through all dependencies.
Would be great to have a docker container, too. Let me know if you'd like to contribute to this.
Currently, i'm packed w/ http://github.com/vectorizedio/redpanda but can mentor your changes.