FROM resin/rpi-raspbian:jessie # Copy source files RUN mkdir /root/tag-logger RUN apt-get update && apt-get install -y python python-pip git RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Install some python packages RUN pip install --upgrade pip setuptools RUN pip install --upgrade requests RUN pip install git+https://github.com/Henry-Pump/Pycomm-Helper.git RUN pip install git+https://github.com/ruscito/pycomm.git COPY taglogger.py /root/tag-logger/taglogger.py CMD ["python", "-u", "/root/tag-logger/taglogger.py"]