You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeDMR/docker-configs/Dockerfile-proxy

23 lines
589 B

FROM debian:bullseye-slim
COPY entrypoint-proxy /entrypoint
RUN useradd -u 54000 radio && \
apt-get update && \
apt-get -y install git pypy3 python3-pip && \
cd /opt && \
git clone https://github.com/hacknix/freedmr && \
cd /opt/freedmr && \
git checkout pypy && \
pypy3 -m pip install --no-cache-dir -r requirements.txt && \
apt-get -y remove python3-pip git && \
apt-get -y autoremove && \
apt-get -y purge && \
rm -rvf /var/cache/apt/archives/* && \
chown -R radio: /opt/freedmr
USER radio
ENTRYPOINT [ "/entrypoint" ]

Powered by TurnKey Linux.