From 16b9d318fd7ab8e29a2d39f6d58d060076b829c8 Mon Sep 17 00:00:00 2001 From: Andre Date: Thu, 6 Dec 2018 21:48:35 +0100 Subject: [PATCH] changes for new iobroker setup --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ecef2b..90b972a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM debian:latest -MAINTAINER Andre Germann +MAINTAINER Andre Germann ENV DEBIAN_FRONTEND noninteractive @@ -15,8 +15,7 @@ ENV LANG de_DE.UTF-8 RUN cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime ENV TZ Europe/Berlin -RUN mkdir -p /opt/iobroker/ && chmod 777 /opt/iobroker/ -RUN mkdir -p /opt/scripts/ && chmod 777 /opt/scripts/ +RUN curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh | bash - WORKDIR /opt/scripts/ @@ -29,7 +28,7 @@ RUN chmod +x iobroker_startup.sh WORKDIR /opt/iobroker/ -RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host +RUN echo $(hostname) > .install_host RUN update-rc.d iobroker.sh remove RUN npm install node-gyp -g