update(docker/builder): install build dependencies in builder

Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
Lorenzo Fontana 2019-12-12 19:04:33 +01:00 committed by Leo Di Donato
parent 74ac37c10a
commit f567172bff
2 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,8 @@ RUN source scl_source enable devtoolset-7 llvm-toolset-7 && \
# fixme: deps needs a fix into CMakeLists.txt
RUN yum -y install libyaml-devel && yum clean all -y
RUN yum -y install ncurses-devel openssl-devel libcurl-devel c-ares-devel zlib-devel openssl
COPY ./root /
# DTS

View File

@ -42,6 +42,13 @@ case "$CMD" in
-DBUILD_WARNINGS_AS_ERRORS="$BUILD_WARNINGS_AS_ERRORS" \
-DFALCO_VERSION="$FALCO_VERSION" \
-DDRAIOS_DEBUG_FLAGS="$DRAIOS_DEBUG_FLAGS" \
-DBUILD_STATIC_GRPC=ON \
-DBUILD_STATIC_JQ=ON \
-DBUILD_STATIC_YAMLCPP=ON \
-DBUILD_STATIC_PROTOBUF=ON \
-DUSE_BUNDLED_ZLIB=OFF \
-DUSE_BUNDLED_OPENSSL=OFF \
-DUSE_BUNDLED_CURL=OFF \
"$SOURCE_DIR/falco"
exit "$(printf '%d\n' $?)"
;;