homeassistant-config/fhem_dockerfile

27 lines
461 B
Plaintext

FROM ubuntu:18.10
RUN apt-get update && apt-get install -y \
perl \
libdevice-serialport-perl \
libwww-perl \
libio-socket-ssl-perl \
libcgi-pm-perl
RUN wget http://fhem.de/fhem-5.7.deb && \
dpkg -i fhem-5.7.deb && \
rm fhem-5.7.deb
ADD fhem.cfg /opt/fhem/fhem.cfg
ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /opt/fhem
CMD /opt/fhem/fhem.pl