Files
c_pompes/.devcontainer/Dockerfile

47 lines
842 B
Docker
Raw Normal View History

2025-11-30 09:48:43 +01:00
FROM debian:stable-slim
RUN RUN set -eux; \
apt-get update; \
apt-get install -y \
git \
build-essential \
cmake \
2025-12-03 21:44:16 +01:00
gdb;
2025-11-30 09:48:43 +01:00
RUN set -eux; \
apt-get update; \
apt-get install -y \
libncurses-dev \
2025-12-03 23:20:46 +01:00
libmicrohttpd-dev \
libcurl4-openssl-dev \
zlib1g-dev \
2025-12-07 15:51:48 +01:00
prometheus-cpp-dev \
nlohmann-json3-dev
2025-11-30 09:48:43 +01:00
RUN set -eux; \
2025-12-03 23:20:46 +01:00
apt-get update; \
apt-get install -y \
libpaho-mqtt-dev
2025-12-07 15:51:48 +01:00
RUN set -eux; \
git clone https://github.com/eclipse/paho.mqtt.cpp.git; \
cd paho.mqtt.cpp; \
git submodule init; \
git submodule update; \
mkdir build && cd build; \
cmake -DPAHO_WITH_MQTT_C=ON ..; \
cmake --build . --target install; \
ldconfig;
2025-12-03 23:20:46 +01:00
RUN set -eux; \
apt-get update; \
apt-get install -y \
librabbitmq4 \
librabbitmq-dev;\
apt-get clean
2025-11-30 09:48:43 +01:00
WORKDIR /root
CMD ["sleep infinity"]