Skip to content

Commit

Permalink
Only build librtlsdr 1x, install 2x (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmer authored Dec 14, 2024
1 parent d902507 commit feef5c4
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,8 @@ RUN cd /tmp && \
make install && \
# We need to install both in / and /newroot to use in this image
# and to copy over to the final image
make DESTDIR=/newroot install && \
ldconfig && \
cd /tmp && \
rm -rf librtlsdr

# Compile librtlsdr-dev 2.0 for SDR-Blog v4 support and other updates
# Ubuntu 22.04 LTS has librtlsdr 0.6.0
RUN cd /tmp && \
git clone https://github.com/steve-m/librtlsdr.git && \
cd librtlsdr && \
mkdir build && \
cd build && \
cmake .. && \
make -j$(nproc) && \
make install && \
make DESTDIR=/newroot install && \
ldconfig && \
cd /tmp && \
rm -rf librtlsdr
Expand Down

0 comments on commit feef5c4

Please sign in to comment.