Skip to content

Instantly share code, notes, and snippets.

View fjanicki's full-sized avatar

Frederic Portaria-Janicki fjanicki

View GitHub Profile
@fjanicki
fjanicki / gist:195ef53c6e4bbb43da2330f5dd04ddf2
Created March 7, 2019 17:02
Docker Paho C + PahoCpp build through CMake
# Install Paho
WORKDIR /pahoc
RUN git clone --branch v1.2.1 https://github.com/eclipse/paho.mqtt.c.git
WORKDIR /pahoc/paho.mqtt.c
RUN make
RUN make install
# Install Paho C++
WORKDIR /pahocpp
RUN git clone --branch v1.0.0 https://github.com/eclipse/paho.mqtt.cpp