| 123456789101112131415161718192021222324252627 |
- FROM debian:jessie
- MAINTAINER Matthias Kleine <info@haus-automatisierung.com>
- ENV DEBIAN_FRONTEND noninteractive
- ENV TERM xterm
- # Install dependencies
- RUN apt-get update && apt-get upgrade -y --force-yes && apt-get install -y --force-yes --no-install-recommends apt-utils
- RUN apt-get install -y --force-yes xz-utils wget python libavahi-compat-libdnssd-dev
- RUN echo Europe/Vienna > /etc/timezone && dpkg-reconfigure tzdata
- 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
- RUN ln -s /usr/local/bin/node /usr/bin/node
- ENV NODE_ENV production
- RUN apt-get install -y --force-yes make make gcc g++
- RUN npm install -g homebridge homebridge-fhem homebridge-http
- EXPOSE 51826
- COPY start.sh ./
- RUN chmod +x ./start.sh
- CMD ["./start.sh"]
|