From 4923a9b3884f96cecfbe7b0b56ff8d1ad673a119 Mon Sep 17 00:00:00 2001 From: Rich Braun Date: Fri, 23 Aug 2024 11:36:09 -0700 Subject: [PATCH] SYS-623 weewx Dockerfile wip --- images/weewx/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/weewx/Dockerfile b/images/weewx/Dockerfile index 382cfde..21ff90b 100644 --- a/images/weewx/Dockerfile +++ b/images/weewx/Dockerfile @@ -60,14 +60,14 @@ RUN apk add --no-cache --update \ py3-requests py3-six py3-usb rsync rsyslog tzdata && \ adduser -u $WX_UID -s /bin/sh -G $WX_GROUP -D $WX_USER && \ mv /tmp/* /home/$WX_USER && \ - apk add --no-cache --virtual .fetch-deps gcc git && \ + apk add --no-cache --virtual .fetch-deps gcc git musl-dev python3-dev && \ VENV=/home/$WX_USER/weewx-venv && \ python3 -m venv $VENV --system-site-packages && \ + source $VENV/bin/activate && \ + python3 -m pip install weewx && \ git clone -b $WEEGREEN_VERSION --depth 1 \ https://github.com/instantlinux/weewx-WeeGreen.git \ $WX_ROOT/skins/WeeGreen && \ - source $VENV/bin/activate && \ - python3 -m pip install weewx && \ chown $WX_USER $WX_ROOT && \ chown -R $WX_USER $WX_ROOT/skins && \ su $WX_USER -c \