diff --git a/Dockerfile b/Dockerfile index fb2ec58..0138234 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y build-essential python apt-utils curl avahi-daemon git libpcap-dev libavahi-compat-libdnssd-dev libfontconfig gnupg2 locales procps libudev-dev unzip sudo -RUN curl -sL https://deb.nodesource.com/setup_8.x | bash +RUN curl -sL https://deb.nodesource.com/setup_6.x | bash RUN apt-get install -y nodejs RUN sed -i '/^rlimit-nproc/s/^\(.*\)/#\1/g' /etc/avahi/avahi-daemon.conf @@ -30,6 +30,7 @@ WORKDIR /opt/iobroker/ RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host RUN update-rc.d iobroker.sh remove +RUN npm install node-gyp -g CMD ["sh", "/opt/scripts/iobroker_startup.sh"]