From 576cc7da4a8ef881199904904ce6c7c049ff0cd3 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 10 Jul 2022 12:40:59 +0200 Subject: [PATCH] Fix WDC installation --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 455df43..04f2229 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ RUN wget -O "${ARCHIVE}" "http://www.weewx.com/downloads/released_versions/${ARC wget -O neowx-material.zip https://neoground.com/projects/neowx-material/download/${NEOWX_VERSION} &&\ wget -O weewx-wdc.zip https://github.com/Daveiano/weewx-wdc/releases/download/${WDC_VERSION}/weewx-wdc-${WDC_VERSION}.zip &&\ tar --extract --gunzip --directory ${WEEWX_HOME} --strip-components=1 --file "${ARCHIVE}" &&\ + mkdir weewx-wdc && unzip weewx-wdc.zip -d weewx-wdc &&\ chown -R weewx:weewx ${WEEWX_HOME} # Python setup @@ -28,7 +29,7 @@ WORKDIR ${WEEWX_HOME} RUN bin/wee_extension --install /tmp/weewx-interceptor.zip &&\ bin/wee_extension --install /tmp/neowx-material.zip &&\ - bin/wee_extension --install /tmp/weewx-wdc.zip &&\ + bin/wee_extension --install /tmp/weewx-wdc &&\ mkdir user COPY entrypoint.sh ./ COPY user/ ./bin/user/