mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2026-01-27 09:31:36 +02:00
changes for new iobroker setup
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
|
|
||||||
MAINTAINER Andre Germann <info@buanet.de>
|
MAINTAINER Andre Germann <https://buanet.de>
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
@@ -15,8 +15,7 @@ ENV LANG de_DE.UTF-8
|
|||||||
RUN cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
RUN cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||||
ENV TZ Europe/Berlin
|
ENV TZ Europe/Berlin
|
||||||
|
|
||||||
RUN mkdir -p /opt/iobroker/ && chmod 777 /opt/iobroker/
|
RUN curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh | bash -
|
||||||
RUN mkdir -p /opt/scripts/ && chmod 777 /opt/scripts/
|
|
||||||
|
|
||||||
WORKDIR /opt/scripts/
|
WORKDIR /opt/scripts/
|
||||||
|
|
||||||
@@ -29,7 +28,7 @@ RUN chmod +x iobroker_startup.sh
|
|||||||
|
|
||||||
WORKDIR /opt/iobroker/
|
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 update-rc.d iobroker.sh remove
|
||||||
RUN npm install node-gyp -g
|
RUN npm install node-gyp -g
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user