e23a36e734
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
21 lines
627 B
Docker
21 lines
627 B
Docker
FROM debian:latest
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get upgrade -yq && \
|
|
DEBIAN_FRONTEND=nonintercative apt-get install -yq python python-pip mosquitto git
|
|
|
|
RUN yes | pip install paho-mqtt
|
|
RUN yes | pip install watchdog
|
|
RUN yes | pip install geopy
|
|
RUN yes | pip install gpxpy
|
|
RUN yes | pip install matplotlib
|
|
RUN yes | pip install pandas
|
|
RUN yes | pip install numpy
|
|
|
|
RUN git clone https://git.blackfinn.de/python/bicycle-statistics.git
|
|
RUN cd bicycle-statistics && python setup.py install
|
|
RUN rm -rf bicycle-statistics
|
|
|
|
COPY run.sh /bin/
|
|
|
|
ENTRYPOINT [ "/bin/run.sh" ] |