kopia lustrzana https://github.com/projecthorus/wenet
Dockerfile cleanup
rodzic
28692cc218
commit
ee29f651fb
28
Dockerfile
28
Dockerfile
|
@ -6,19 +6,11 @@ FROM debian:buster-slim AS build
|
|||
# Install build dependencies.
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
cmake \
|
||||
git \
|
||||
libusb-1.0-0-dev \
|
||||
pkg-config \
|
||||
libatlas-base-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-setuptools \
|
||||
python3-numpy \
|
||||
python3-wheel \
|
||||
libairspy-dev libairspyhf-dev libavahi-client-dev libbsd-dev libfftw3-dev libhackrf-dev libiniparser-dev libncurses5-dev libopus-dev librtlsdr-dev libusb-1.0-0-dev libusb-dev portaudio19-dev libasound2-dev uuid-dev rsync && \
|
||||
build-essential cmake git libusb-1.0-0-dev pkg-config libatlas-base-dev \
|
||||
python3 python3-dev python3-pip python3-setuptools python3-numpy python3-wheel \
|
||||
libairspy-dev libairspyhf-dev libavahi-client-dev libbsd-dev libfftw3-dev \
|
||||
libhackrf-dev libiniparser-dev libncurses5-dev libopus-dev librtlsdr-dev \
|
||||
libusb-1.0-0-dev libusb-dev portaudio19-dev libasound2-dev uuid-dev rsync && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Compile and install rtl-sdr.
|
||||
|
@ -38,15 +30,13 @@ RUN git clone https://github.com/fsphil/ssdv.git /root/ssdv && \
|
|||
rm -rf /root/ssdv
|
||||
|
||||
# Compile and install pcmcat and tune from KA9Q-Radio
|
||||
#RUN git clone https://github.com/ka9q/ka9q-radio.git /root/ka9q-radio && \
|
||||
RUN git clone https://github.com/fventuri/ka9q-radio.git /root/ka9q-radio && \
|
||||
RUN git clone https://github.com/ka9q/ka9q-radio.git /root/ka9q-radio && \
|
||||
#RUN git clone https://github.com/fventuri/ka9q-radio.git /root/ka9q-radio && \
|
||||
cd /root/ka9q-radio && \
|
||||
git checkout sdrplay && \
|
||||
# git checkout sdrplay && \
|
||||
make -f Makefile.linux pcmcat tune && \
|
||||
mkdir -p /root/target/usr/local/bin/ && \
|
||||
cp pcmcat /root/target/usr/local/bin/ && \
|
||||
cp tune /root/target/usr/local/bin/ && \
|
||||
# cp control /root/target/usr/local/bin/ && \
|
||||
rm -rf /root/ka9q-radio
|
||||
|
||||
# Install Python packages.
|
||||
|
@ -86,8 +76,6 @@ RUN apt-get update && \
|
|||
libbsd0 \
|
||||
avahi-utils \
|
||||
libnss-mdns \
|
||||
inetutils-ping \
|
||||
nano \
|
||||
tini && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue