|
@@ -5,9 +5,15 @@ ARG REPO_PASS
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
- ca-certificates curl gnupg cmake ninja-build g++ pkg-config \
|
|
|
|
|
- nlohmann-json3-dev libspdlog-dev libssl-dev libsystemd-dev git \
|
|
|
|
|
|
|
+ ca-certificates curl gnupg cmake ninja-build g++ pkg-config git \
|
|
|
|
|
+ nlohmann-json3-dev libspdlog-dev libfmt-dev libssl-dev libsystemd-dev \
|
|
|
|
|
+ protobuf-compiler libprotobuf-dev libgrpc++-dev protobuf-compiler-grpc \
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
+# Note: the gRPC/protobuf dev packages above are required so that the cmake
|
|
|
|
|
+# config shipped by libsmartbotic-db-client-dev can resolve `find_dependency(gRPC
|
|
|
|
|
+# CONFIG)`. Without protobuf-compiler-grpc, trixie's gRPCTargets.cmake references
|
|
|
|
|
+# plugin files that aren't present and find_package fails fatally (before the
|
|
|
|
|
+# pkg-config fallback). Mirrors smartbotic-database's build base.
|
|
|
|
|
|
|
|
# Node 22 for the web UI build (vite 7 needs node >=20.19/22).
|
|
# Node 22 for the web UI build (vite 7 needs node >=20.19/22).
|
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|