-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (27 loc) · 1.04 KB
/
Copy pathDockerfile
File metadata and controls
31 lines (27 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM python:3.12
RUN true && \
\
ARCH=`uname -m`; \
if [ "$ARCH" = "armv7l" ]; then \
NOBIN_OPT="--no-binary=grpcio"; \
else \
NOBIN_OPT=""; \
fi; \
# Install python prerequisites
pip3 install --no-cache-dir $NOBIN_OPT \
croniter==6.0.0 pytz==2025.2 six==1.17.0 \
grpcio==1.76.0 \
influxdb==5.3.2 certifi==2026.1.4 charset-normalizer==3.4.4 idna==3.11 \
msgpack==1.1.2 requests==2.32.5 urllib3==2.6.3 \
influxdb-client==1.50.0 reactivex==4.1.0 \
paho-mqtt==2.1.0 \
pypng==0.20220715.0 \
python-dateutil==2.9.0.post0 \
typing_extensions==4.15.0 \
yagrc==1.1.2 grpcio-reflection==1.76.0 protobuf==6.33.4
COPY dish_*.py loop_util.py starlink_*.py entrypoint.sh /app/
WORKDIR /app
ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"]
CMD ["dish_grpc_influx.py status alert_detail"]
# docker run -d --name='starlink-grpc-tools' -e INFLUXDB_HOST=192.168.1.34 -e INFLUXDB_PORT=8086 -e INFLUXDB_DB=starlink
# --net='br0' --ip='192.168.1.39' ghcr.io/sparky8512/starlink-grpc-tools dish_grpc_influx.py status alert_detail