Skip to content

Commit

Permalink
Merge pull request #114 from wiedehopf/main
Browse files Browse the repository at this point in the history
move to acars-decoder-soapy baseimage
  • Loading branch information
fredclausen authored Jan 10, 2025
2 parents fb8c7dc + afbdb3f commit 75305dc
Showing 1 changed file with 1 addition and 72 deletions.
73 changes: 1 addition & 72 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/sdr-enthusiasts/docker-baseimage:acars-decoder
FROM ghcr.io/sdr-enthusiasts/docker-baseimage:acars-decoder-soapy

ENV DEVICE_INDEX="" \
QUIET_LOGS="TRUE" \
Expand Down Expand Up @@ -61,77 +61,6 @@ RUN set -x && \
make install && \
ldconfig && \
popd && \
# deploy airspyone host
git clone https://github.com/airspy/airspyone_host.git /src/airspyone_host && \
pushd /src/airspyone_host && \
mkdir -p /src/airspyone_host/build && \
pushd /src/airspyone_host/build && \
cmake ../ -DINSTALL_UDEV_RULES=ON && \
make && \
make install && \
ldconfig && \
popd && popd && \
# Deploy SoapySDR
git clone https://github.com/pothosware/SoapySDR.git /src/SoapySDR && \
pushd /src/SoapySDR && \
BRANCH_SOAPYSDR=$(git tag --sort="creatordate" | tail -1) && \
git checkout "$BRANCH_SOAPYSDR" && \
mkdir -p /src/SoapySDR/build && \
pushd /src/SoapySDR/build && \
cmake ../ -DCMAKE_BUILD_TYPE=Release && \
make all && \
make test && \
make install && \
popd && popd && \
ldconfig && \
# install sdrplay
curl --location --output /tmp/install_sdrplay.sh https://raw.githubusercontent.com/sdr-enthusiasts/install-libsdrplay/main/install_sdrplay.sh && \
chmod +x /tmp/install_sdrplay.sh && \
/tmp/install_sdrplay.sh && \
# Deploy SoapyRTLTCP
git clone https://github.com/pothosware/SoapyRTLTCP.git /src/SoapyRTLTCP && \
pushd /src/SoapyRTLTCP && \
mkdir -p /src/SoapyRTLTCP/build && \
pushd /src/SoapyRTLTCP/build && \
cmake ../ -DCMAKE_BUILD_TYPE=Release && \
make all && \
make install && \
popd && popd && \
ldconfig && \
# Deploy SoapyRTLSDR
git clone https://github.com/pothosware/SoapyRTLSDR.git /src/SoapyRTLSDR && \
pushd /src/SoapyRTLSDR && \
BRANCH_SOAPYRTLSDR=$(git tag --sort="creatordate" | tail -1) && \
git checkout "$BRANCH_SOAPYRTLSDR" && \
mkdir -p /src/SoapyRTLSDR/build && \
pushd /src/SoapyRTLSDR/build && \
cmake ../ -DCMAKE_BUILD_TYPE=Debug && \
make all && \
make install && \
popd && popd && \
ldconfig && \
# install sdrplay support for soapy
git clone https://github.com/pothosware/SoapySDRPlay.git /src/SoapySDRPlay && \
pushd /src/SoapySDRPlay && \
mkdir build && \
pushd build && \
cmake .. && \
make && \
make install && \
popd && \
popd && \
ldconfig && \
# Deploy Airspy
git clone https://github.com/pothosware/SoapyAirspy.git /src/SoapyAirspy && \
pushd /src/SoapyAirspy && \
mkdir build && \
pushd build && \
cmake .. && \
make && \
make install && \
popd && \
popd && \
ldconfig && \
# Install dumpvdl2
git clone https://github.com/szpajder/dumpvdl2.git /src/dumpvdl2 && \
mkdir -p /src/dumpvdl2/build && \
Expand Down

0 comments on commit 75305dc

Please sign in to comment.