Docker updates
This commit is contained in:
parent
84ed3aff1d
commit
2f91d91f57
@ -1,17 +0,0 @@
|
|||||||
FROM python:3.7-alpine
|
|
||||||
|
|
||||||
COPY entrypoint-base /entrypoint
|
|
||||||
|
|
||||||
RUN adduser -D -u 54000 radio && \
|
|
||||||
apk update && \
|
|
||||||
apk add git gcc musl-dev && \
|
|
||||||
cd /opt && \
|
|
||||||
git clone https://github.com/hacknix/freedmr && \
|
|
||||||
cd /opt/freedmr && \
|
|
||||||
pip install --no-cache-dir -r requirements.txt && \
|
|
||||||
apk del git gcc musl-dev && \
|
|
||||||
chown -R radio: /opt/freedmr
|
|
||||||
|
|
||||||
USER radio
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint" ]
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
cd /opt/freedmr
|
|
||||||
python /opt/freedmr/bridge_master.py -c hblink.cfg -r rules.py
|
|
Loading…
x
Reference in New Issue
Block a user