Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 438 Bytes
FROM resin/%%RESIN_MACHINE_NAME%%-python
ENV INITSYSTEM on
RUN echo i2c-bcm2708 >> /etc/modules
RUN echo i2c-dev >> /etc/modules
RUN apt-get update && \
apt-get install -y build-essential python-dev python-smbus python-pip
RUN pip install -U setuptools speedtest-cli schedule && \
pip install Adafruit-CharLCD && \
LC_ALL=C pip install RPi.Gpio && \
rm -rf /var/lib/apt/lists/*
COPY . /app
CMD ["python", "/app/SpeedTestCheck.py"]
You can’t perform that action at this time.