Greetings!

I am running Weewx as a docker container using the following Dockerfile

*FROM debian:jessie*
*MAINTAINER Michael.C Ryan m...@iotimpactlabs.com*

*#ENV VERSON=3.6.0*
*ENV VERSION=3.7.0*
*ENV HOME=/home/weewx*

*RUN apt-get -y update && apt-get -y upgrade*

*RUN apt-get install -y sqlite3 curl \*
*python-configobj python-cheetah python-imaging \*
*python-serial python-usb python-mysqldb*

*#Install weewx from source*
*RUN curl http://weewx.com/downloads/weewx-$VERSION.tar.gz | tar xzC /tmp \*
*&& cd /tmp/weewx* && ./setup.py build && ./setup.py install --no-prompt*

*ENV TZ=America/New_York*
*RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > 
/etc/timezone*

*# install new mountain weather station extension*
*RUN apt-get -y install python-dev python-pip*

*RUN pip install pynmea2*

*RUN apt-get -y install wget*

*RUN wget -O weewx-nm150.zip 
https://github.com/matthewwall/weewx-nm150/archive/master.zip*

*RUN /home/weewx/bin/wee_extension --install weewx-nm150.zip*

*# copy files from backup*

*# ensure the container runs at startup*

*# start weewx*
*CMD /home/weewx/bin/weewxd /home/weewx/weewx.conf*



After I build and run this Docker file, everything works out fine but I run 
into my problem at the next step when I try to install the Weewx MQTT 
client.

Weewx MQTT Client Installation Resource: 
 https://github.com/weewx/weewx/wiki/mqtt

I get hung up at the following command...

   1. 
   
   
   root@6220586be0b9:/# wee_extension --install weewx-mqtt-0.15.tgz
   bash: wee_extension: command not found
   
   
   
   
This is not a problem when I am running installations ouside docker but 
unfortunately such is required by job.  FYI:  I tried another approach too; 
I built a separate ubuntu14.04 container and just installed weewx and the 
MQTT client as I would if just using a standard Ubutnu 14.04 OS but I run 
into other issues which I would rather not go into for the moment.  Based 
on the above Dockerfile, which rings and hoops do I need to jump through in 
order to run the following command within a weewx container?  


root@6220586be0:/# wee_extension --install weewx-mqtt-0.15.tgz


Thanks in advance my friends!



-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to