2021-01-09 00:26:52 -06:00
|
|
|
FROM python:3.9
|
|
|
|
LABEL maintainer="neurocis <neurocis@neurocis.me>"
|
|
|
|
|
|
|
|
RUN true && \
|
|
|
|
\
|
|
|
|
# Install python prerequisites
|
2021-03-23 20:32:00 -05:00
|
|
|
pip3 install \
|
2022-11-16 13:46:43 -06:00
|
|
|
grpcio==1.50.0 six==1.16.0 \
|
|
|
|
influxdb==5.3.1 certifi==2022.9.24 charset-normalizer==2.1.1 idna==3.4 \
|
|
|
|
msgpack==1.0.4 python-dateutil==2.8.2 pytz==2022.6 requests==2.28.1 \
|
|
|
|
urllib3==1.26.12 \
|
|
|
|
influxdb-client==1.34.0 reactivex==4.0.4 \
|
|
|
|
paho-mqtt==1.6.1 \
|
|
|
|
typing_extensions==4.4.0 \
|
|
|
|
yagrc==1.1.1 grpcio-reflection==1.50.0 protobuf==4.21.9
|
2021-01-09 00:26:52 -06:00
|
|
|
|
|
|
|
ADD . /app
|
|
|
|
WORKDIR /app
|
|
|
|
|
2021-01-11 01:41:44 -06:00
|
|
|
ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"]
|
2021-01-30 15:17:42 -06:00
|
|
|
CMD ["dish_grpc_influx.py status alert_detail"]
|
2021-01-09 00:26:52 -06:00
|
|
|
|
2021-01-11 01:41:44 -06:00
|
|
|
# docker run -d --name='starlink-grpc-tools' -e INFLUXDB_HOST=192.168.1.34 -e INFLUXDB_PORT=8086 -e INFLUXDB_DB=starlink
|
2022-11-16 13:46:43 -06:00
|
|
|
# --net='br0' --ip='192.168.1.39' ghcr.io/sparky8512/starlink-grpc-tools dish_grpc_influx.py status alert_detail
|