From f91d729b740481c76fa24cf2fa6d42c3425cb09b Mon Sep 17 00:00:00 2001 From: Andre Date: Mon, 6 Mar 2017 20:37:47 +0100 Subject: [PATCH] added support for avahi-daemon installation and autostar script --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef72b6e..a5ce08b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER Andre Germann 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"]