|
|
@@ -85,7 +85,9 @@ RUN cpan Net::MQTT::Simple
|
|
|
RUN cpan Net::MQTT::Constants
|
|
|
|
|
|
# Install fhem
|
|
|
-RUN echo Europe/Berlin > /etc/timezone && dpkg-reconfigure tzdata
|
|
|
+# Set timezone to Europe/Berlin
|
|
|
+ENV TZ=Europe/Berlin
|
|
|
+RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
|
|
RUN wget https://fhem.de/fhem-${FHEM_VERSION}.deb && dpkg -i fhem-${FHEM_VERSION}.deb
|
|
|
RUN userdel fhem
|