Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN python3 -m venv /home/weewx/weewx-venv \
&& . /home/weewx/weewx-venv/bin/activate \
&& python3 ~/weewx/src/weectl.py station create --no-prompt

COPY conf-fragments/* /home/weewx/tmp/conf-fragments/
COPY conf-fragments/*.conf /home/weewx/tmp/conf-fragments/
RUN mkdir -p /home/weewx/tmp \
&& cat /home/weewx/tmp/conf-fragments/* >> /home/weewx/weewx-data/weewx.conf
## Belchertown extension
Expand All @@ -62,7 +62,15 @@ RUN cd /var/tmp \
&& . /home/weewx/weewx-venv/bin/activate \
&& python3 ~/weewx/src/weectl.py extension install -y . \
&& cd /var/tmp \
&& rm -rf weewx-mqtt.zip weewx-mqtt-master
&& rm -rf weewx-mqtt.zip weewx-mqtt-master \
#
## WLL \
&& python3 -m pip install requests \
&& cd /tmp \
&& wget -O WLLDriver.zip https://github.com/Drealine/weatherlinklive-driver-weewx/releases/download/2022.02.27-2/WLLDriver.zip \
&& . /home/weewx/weewx-venv/bin/activate \
&& python3 ~/weewx/src/weectl.py extension install -y WLLDriver.zip \
&& rm -f WLLDriver.zip
#

ADD ./bin/run.sh $WEEWX_ROOT/bin/run.sh
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
REV=5
REV=6
WEEWX_VERSION=5.1.0
IMAGE_VERSION=$WEEWX_VERSION-$REV
#IMAGE_VERSION=latest
#docker build --no-cache -t mitct02/weewx:$VERSION .
BUILDKIT_COLORS="run=123,20,245:error=yellow:cancel=blue:warning=white" docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t mitct02/weewx:$IMAGE_VERSION .
#BUILDKIT_COLORS="run=123,20,245:error=yellow:cancel=blue:warning=white" docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t mitct02/weewx:$IMAGE_VERSION .
Expand Down
Binary file added extensions/WLLDriver.zip
Binary file not shown.