-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Multimon Path Variable, change rtlPath to Container Path, add con…
…fig volume to docker compose file, fix Dockerfile
- Loading branch information
1 parent
0ce2602
commit 5631b92
Showing
3 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ FROM build-base AS rtl_fm | |
RUN git clone --depth 1 https://gitea.osmocom.org/sdr/rtl-sdr.git /opt/rtl_sdr | ||
WORKDIR /opt/rtl_sdr/build | ||
RUN cmake .. && make | ||
RUN make install | ||
|
||
FROM build-base AS multimon | ||
RUN git clone --depth 1 https://github.com/EliasOenal/multimon-ng.git /opt/multimon | ||
|
@@ -17,22 +18,24 @@ RUN apk add git && \ | |
git clone --depth 1 --branch ${BW_VERSION} https://github.com/BOSWatch/BW3-Core.git /opt/boswatch | ||
|
||
|
||
FROM python:alpine AS boswatch-base | ||
FROM python:alpine AS client | ||
LABEL maintainer="[email protected]" | ||
|
||
# for RTL for MM | ||
RUN apk add libusb-dev libpulse && \ | ||
pip3 install pyyaml | ||
RUN apk add libusb-dev libpulse | ||
RUN pip3 install pyyaml | ||
|
||
COPY --from=boswatch /opt/boswatch/ /opt/boswatch/ | ||
RUN mkdir /opt/boswatch/log | ||
COPY --from=multimon /opt/multimon/build/multimon-ng /opt/multimon/multimon-ng | ||
COPY --from=rtl_fm /opt/rtl_sdr/build/src/ /opt/rtl_sdr/ | ||
WORKDIR /opt/boswatch | ||
COPY --from=rtl_fm /usr/local/bin/rtl_fm /opt/rtl_sdr/rtl_fm | ||
COPY --from=rtl_fm /usr/local/lib/librtlsdr.so.0 /usr/local/lib/librtlsdr.so.0 | ||
|
||
FROM boswatch-base AS client | ||
WORKDIR /opt/boswatch | ||
CMD python3 /opt/boswatch/bw_client.py -c client.yaml | ||
|
||
FROM boswatch-base AS server | ||
FROM python:alpine AS server | ||
RUN pip3 install pyyaml | ||
COPY --from=boswatch /opt/boswatch/ /opt/boswatch/ | ||
WORKDIR /opt/boswatch | ||
CMD python3 /opt/boswatch/bw_server.py -c server.yaml | ||
EXPOSE 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters