message: Dockerfile: install optional libraries
diff: @@ -12,7 +12,7 @@ RUN add-apt-repository ppa:mraa/mraa && \
  # Install apt-utils
  apt-get -y --no-install-recommends install apt-utils && \
  # Main Build Dependencies
  - apt-get -y --no-install-recommends install git build-essential cmake clang-3.8 g++-4.8 libpthread-stubs0-dev pkg-config wget libpcre3 libpcre3-dev \
  + apt-get -y --no-install-recommends install git build-essential cmake clang-3.8 g++-4.8 libpthread-stubs0-dev pkg-config wget libpcre3 libpcre3-dev unzip \
  # Mraa Build Dependencies
  libmraa1 libmraa-dev mraa-tools python-mraa python3-mraa libmraa-java \
  # Docs Build Dependencies
  @@ -22,8 +22,17 @@ RUN add-apt-repository ppa:mraa/mraa && \
  # Java Build Dependencies
  default-jre default-jdk \
  # Sensor Specific Build Dependencies
  - libmodbus-dev libjpeg-dev
  - # TODO: install libbacnet
  + libjpeg-dev
  +
  +# Install libbacnet 0.3.12
  +RUN wget https://downloads.sourceforge.net/project/bacnet/bacnet-stack/bacnet-stack-0.8.3/bacnet-stack-0.8.3.zip && \
  + unzip bacnet-stack-0.8.3.zip && cd bacnet-stack-0.8.3 && \
  + BACDL_DEFINE=-DBACDL_MSTP=1 MAKE_DEFINE=-fPIC make clean all
  +
  +# Install libmodbus 3.1.4
  +RUN wget http://libmodbus.org/releases/libmodbus-3.1.4.tar.gz && \
  + tar xf libmodbus-3.1.4.tar.gz && cd libmodbus-3.1.4 && \
  + ./configure && make && make install
  # Install openzwave
  RUN apt-get update && apt-get -y --no-install-recommends install libudev-dev && \
  @@ -71,6 +80,11 @@ ENV CXX $CXX
  # Copy sources
  COPY . .
  +# Temp solution for libbacnet install
  +COPY bacnet/libbacnet.pc /usr/lib/pkgconfig/libbacnet.pc
  +RUN cp /bacnet-stack-0.8.3/lib/libbacnet.a /usr/lib/libbacnet.a
  +RUN mkdir /usr/include/bacnet && cp /bacnet-stack-0.8.3/include/* /usr/include/bacnet/
  +
  # Change Workdir to build directory
  WORKDIR /usr/src/app/build
  