optimizing and testing

This commit is contained in:
andre
2017-12-27 16:55:54 +01:00
parent 4f41716e77
commit e015276fc4

View File

@@ -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"]