This commit is contained in:
@@ -18,13 +18,17 @@ WORKDIR /op25
|
||||
# Run the install script to set up op25
|
||||
RUN ./install.sh -f
|
||||
|
||||
# Install the op25.liq file
|
||||
COPY op25.liq /op25/op25/gr-op25_repeater/apps/op25.liq
|
||||
RUN chmod +x /op25/op25/gr-op25_repeater/apps/op25.liq
|
||||
|
||||
# Install Python dependencies
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN pip3 install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
# Create the run_multi-rx_service.sh script
|
||||
RUN echo "#!/bin/bash\n./multi_rx.py -v 1 -c /configs/active.cfg.json" > ./op25/gr-op25_repeater/apps/run_multi-rx_service.sh && \
|
||||
chmod +x ./op25/gr-op25_repeater/apps/run_multi-rx_service.sh
|
||||
COPY run_multi-rx_service.sh /op25/op25/gr-op25_repeater/apps/run_multi-rx_service.sh
|
||||
RUN chmod +x /op25/op25/gr-op25_repeater/apps/run_multi-rx_service.sh
|
||||
|
||||
# Expose ports for HTTP control as needed, for example:
|
||||
EXPOSE 8001 8081
|
||||
|
||||
Reference in New Issue
Block a user