| 123456789101112131415161718192021222324252627 |
- #
- # Dockerfile for Rpi-Domoticz
- #
- # Based on version by LBTM
- #
- # Base image.
- FROM resin/rpi-raspbian:jessie-20161026
- MAINTAINER Florian Chauveau
- # Install Domoticz from sources.
- RUN \
- apt-get update && \
- apt-get install -y cmake apt-utils build-essential && \
- apt-get install -y libboost-dev libboost-thread-dev libboost-system-dev libsqlite3-dev subversion curl libcurl4-openssl-dev libusb-dev zlib1g-dev && \
- apt-get clean && \
- apt-get autoclean && \
- rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
- # Expose port.
- EXPOSE 80
- CMD ["/root/domoticz/domoticz", "-www", "80"]
- # https://releases.domoticz.com/releases/release/domoticz_linux_armv7l.tgz
- ADD domoticz_linux_armv7l.tgz /root/domoticz
- HEALTHCHECK --interval=10s CMD curl -sS --fail http://localhost:80 || exit 1
|