-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (27 loc) · 897 Bytes
/
Dockerfile
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
FROM debian:bookworm-slim
LABEL desc="boatbod/op25"
ENV DEBIAN_FRONTEND=noninteractive
ARG TZ=America/New_York
RUN cd /
RUN export DEBIAN_FRONTEND=noninteractive && \
export TZ=$TZ && \
apt-get update && apt-get install -y tzdata && \
dpkg-reconfigure --frontend noninteractive tzdata
#Get basic support for scripts
RUN apt-get update && apt-get install -y git sudo python3
#Get OP25 and (Yes) to install
RUN git clone --branch gr310 https://github.com/boatbod/op25 && cd ./op25 && yes | ./install.sh
#Set our working directory
WORKDIR "/op25/op25/gr-op25_repeater/apps"
#Copy wav and sample config
COPY [email protected] .
COPY activeconfig.json .
#Specify default config values
ENV config activeconfig.json
#Expose OP25 Web GUI
EXPOSE 8080
#Expose audio
EXPOSE 23446
#Expose Icecast Port (Probably not needed if info is outbound)
#EXPOSE 8000
CMD python3 multi_rx.py -c ${config}