Dockerfile 838 B

123456789101112131415161718192021222324252627
  1. FROM debian:jessie
  2. MAINTAINER Matthias Kleine <info@haus-automatisierung.com>
  3. ENV DEBIAN_FRONTEND noninteractive
  4. ENV TERM xterm
  5. # Install dependencies
  6. RUN apt-get update && apt-get upgrade -y --force-yes && apt-get install -y --force-yes --no-install-recommends apt-utils
  7. RUN apt-get install -y --force-yes xz-utils wget python libavahi-compat-libdnssd-dev
  8. RUN echo Europe/Vienna > /etc/timezone && dpkg-reconfigure tzdata
  9. RUN wget https://nodejs.org/dist/v6.9.2/node-v6.9.2-linux-x64.tar.xz -P /tmp && cd /usr/local && tar -xvf /tmp/node-v6.9.2-linux-x64.tar.xz --strip=1
  10. RUN ln -s /usr/local/bin/node /usr/bin/node
  11. ENV NODE_ENV production
  12. RUN apt-get install -y --force-yes make make gcc g++
  13. RUN npm install -g homebridge homebridge-fhem homebridge-http
  14. EXPOSE 51826
  15. COPY start.sh ./
  16. RUN chmod +x ./start.sh
  17. CMD ["./start.sh"]