Files
DataLogger-Generic/daq/Dockerfile.rpi
2017-05-09 15:19:46 -05:00

16 lines
519 B
Docker

FROM resin/rpi-raspbian:jessie
# Copy source files
RUN mkdir /root/tag-logger
COPY taglogger.py /root/tag-logger/taglogger.py
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
RUN pip install requests
RUN pip install git+https://github.com/Henry-Pump/Pycomm-Helper.git
RUN pip install git+https://github.com/ruscito/pycomm.git
CMD ["python", "/root/tag-logger/taglogger.py"]