1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-08-27 09:52:26 -04:00
sdrangel/docker/base/server/Dockerfile

14 lines
1.0 KiB
Docker

FROM sdrangel/bionic:base
# Finally SDRangel
RUN cd /opt/build \
&& git clone https://github.com/f4exb/sdrangel.git \
&& cd sdrangel \
&& git reset --hard v4.5.0 \
&& mkdir build; cd build \
&& cmake -Wno-dev -DDEBUG_OUTPUT=ON -DBUILD_TYPE=RELEASE -DRX_SAMPLE_24BIT=ON -DBUILD_GUI=OFF -DMIRISDR_DIR=/opt/install/libmirisdr -DAIRSPY_DIR=/opt/install/libairspy -DAIRSPYHF_DIR=/opt/install/libairspyhf -DBLADERF_DIR=/opt/install/libbladeRF -DHACKRF_DIR=/opt/install/libhackrf -DRTLSDR_DIR=/opt/install/librtlsdr -DLIMESUITE_DIR=/opt/install/LimeSuite -DIIO_DIR=/opt/install/libiio -DCM256CC_DIR=/opt/install/cm256cc -DDSDCC_DIR=/opt/install/dsdcc -DSERIALDV_DIR=/opt/install/serialdv -DMBE_DIR=/opt/install/mbelib -DCODEC2_DIR=/opt/install/codec2 -DPERSEUS_DIR=/opt/install/libperseus -DXTRX_DIR=/opt/install/xtrx-images -DSOAPYSDR_DIR=/opt/install/SoapySDR -DCMAKE_INSTALL_PREFIX=/opt/install/sdrangel .. \
&& make -j8 install
# Start SDRangel and some more services on which SDRangel depends
COPY start.sh /start.sh
ENTRYPOINT ["/start.sh"]