mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-26 18:24:03 +02:00
optimizing and testing
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user