mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 18:39:01 +02:00
added support for avahi-daemon installation and autostar script
This commit is contained in:
@@ -4,7 +4,7 @@ MAINTAINER Andre Germann <info@buanet.de>
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
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 curl -sL https://deb.nodesource.com/setup_4.x | bash
|
||||||
RUN apt-get install -y build-essential python nodejs
|
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
|
RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host
|
||||||
|
|
||||||
ADD scripts/startup.sh startup.sh
|
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"]
|
CMD ["sh", "/opt/iobroker/startup.sh"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user