mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-11 03:29:33 +00:00
fix(cmake,docker): avoid cpp-httplib requiring brotli.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
edf36c0724
commit
0a8526dd7b
@@ -16,6 +16,8 @@
|
|||||||
option(USE_BUNDLED_CPPHTTPLIB "Enable building of the bundled cpp-httplib" ${USE_BUNDLED_DEPS})
|
option(USE_BUNDLED_CPPHTTPLIB "Enable building of the bundled cpp-httplib" ${USE_BUNDLED_DEPS})
|
||||||
|
|
||||||
if(USE_BUNDLED_CPPHTTPLIB)
|
if(USE_BUNDLED_CPPHTTPLIB)
|
||||||
|
set(HTTPLIB_USE_BROTLI_IF_AVAILABLE OFF)
|
||||||
|
set(HTTPLIB_REQUIRE_BROTLI OFF)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
cpp-httplib
|
cpp-httplib
|
||||||
|
@@ -14,15 +14,7 @@ ENV VERSION_BUCKET=${VERSION_BUCKET}
|
|||||||
ENV HOST_ROOT /host
|
ENV HOST_ROOT /host
|
||||||
ENV HOME /root
|
ENV HOME /root
|
||||||
|
|
||||||
RUN apk update && apk add \
|
RUN apk update && apk add curl ca-certificates jq libelf libstdc++
|
||||||
ca-certificates \
|
|
||||||
libstdc++ \
|
|
||||||
libelf \
|
|
||||||
llibbrotlicommon1 \
|
|
||||||
libbrotlidec1 \
|
|
||||||
libbrotlienc1 \
|
|
||||||
curl \
|
|
||||||
jq
|
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user