Utilisation de prometheus-cpp-dev

This commit is contained in:
2025-12-03 23:20:46 +01:00
parent 3b9d229559
commit 8c23e6b8f9
6 changed files with 170 additions and 77 deletions

View File

@@ -12,17 +12,22 @@ RUN set -eux; \
apt-get update; \
apt-get install -y \
libncurses-dev \
libmicrohttpd-dev;\
apt-get clean
libmicrohttpd-dev \
libcurl4-openssl-dev \
zlib1g-dev \
prometheus-cpp-dev
RUN set -eux; \
git clone https://github.com/jelmd/libprom.git; \
cd libprom; \
make build; \
cd prom/build; \
make install; \
cd ../../promhttp/build; \
make install;
apt-get update; \
apt-get install -y \
libpaho-mqtt-dev
RUN set -eux; \
apt-get update; \
apt-get install -y \
librabbitmq4 \
librabbitmq-dev;\
apt-get clean
WORKDIR /root