From 171eb7faefa0acf61da2dd0b094759e81fbc5dae Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Thu, 21 Jul 2022 22:30:24 +0200 Subject: [PATCH] Installation adjustments --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e083724..a0129b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,14 +43,16 @@ RUN tar --extract --gunzip --directory ${WEEWX_HOME} --strip-components=1 --file # weewx setup RUN chown -R weewx:weewx ${WEEWX_HOME} WORKDIR ${WEEWX_HOME} -RUN bin/wee_extension --install /tmp/weewx-interceptor.zip &&\ - MQTTSubscribe_install_type=DRIVER bin/wee_extension --install /tmp/weewx-MQTTSubscribe.zip &&\ +RUN mkdir ${WEEWX_HOME}/user &&\ + chown weewx:weewx ${WEEWX_HOME}/user &&\ + bin/wee_extension --install /tmp/weewx-interceptor.zip &&\ + bin/wee_extension --install /tmp/weewx-MQTTSubscribe.zip &&\ bin/wee_extension --install /tmp/weewx-forecast.zip &&\ bin/wee_extension --install /tmp/weewx-GTS.zip &&\ - bin/wee_extension --install /tmp/weewx-wdc &&\ - mkdir user + bin/wee_extension --install /tmp/weewx-wdc + COPY entrypoint.sh ./ -COPY --chown=weewx:weewx user/ ./bin/user/ +COPY --chown=weewx:weewx user/extensions.py ./bin/user/extensions.py RUN echo 'Default Configuration:' &&\ cat ${WEEWX_HOME}/weewx.conf