added support for avahi-daemon installation and autostar script

This commit is contained in:
Andre
2017-03-06 20:37:47 +01:00
committed by GitHub
parent fe3cee643d
commit f91d729b74

View File

@@ -4,7 +4,7 @@ MAINTAINER Andre Germann <info@buanet.de>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y apt-utils curl
RUN apt-get update && apt-get install -y apt-utils curl avahi-daemon
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash
RUN apt-get install -y build-essential python nodejs
@@ -15,7 +15,9 @@ WORKDIR /opt/iobroker/
RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host
ADD scripts/startup.sh startup.sh
RUN chmod +x startup.sh
ADD scripts/avahi-start.sh avahi-start.sh
RUN chmod +x startup.sh avahi-start.sh
RUN mkdir /var/run/dbus/
CMD ["sh", "/opt/iobroker/startup.sh"]