Files
ioBroker.docker/Dockerfile
Andre f41bdc5ccf fixed timezone issue
this changes timezone setting to Europe/Berlin during build process
2017-03-08 21:37:34 +01:00

31 lines
793 B
Docker

FROM debian:latest
MAINTAINER Andre Germann <info@buanet.de>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y apt-utils curl avahi-daemon
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash
RUN apt-get install -y build-essential python nodejs
RUN cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime
RUN mkdir -p /opt/iobroker/ && chmod 777 /opt/iobroker/
RUN mkdir -p /opt/scripts/ && chmod 777 /opt/scripts/
WORKDIR /opt/scripts/
ADD scripts/avahi-start.sh avahi-start.sh
RUN chmod +x avahi-start.sh
RUN mkdir /var/run/dbus/
WORKDIR /opt/iobroker/
RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host
ADD scripts/startup.sh startup.sh
RUN chmod +x startup.sh
CMD ["sh", "/opt/iobroker/startup.sh"]
ENV DEBIAN_FRONTEND teletype