-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·98 lines (74 loc) · 1.99 KB
/
Dockerfile
File metadata and controls
executable file
·98 lines (74 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y \
less \
git \
cmake \
python3 \
python3-dev \
python3-numpy \
python3-apt \
pip \
gcc \
g++ \
libavcodec-dev \
libavformat-dev \
libswscale-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer1.0-dev \
libpng-dev \
libjpeg-dev \
libopenexr-dev \
libtiff-dev \
ffmpeg \
libharfbuzz-dev \
libfreetype-dev \
libonnx-dev \
protobuf-compiler \
pybind11-dev \
vim \
mlocate \
cmake-curses-gui \
libfftw3-dev \
bazel-bootstrap \
libyaml-cpp-dev \
libnats-dev \
rapidjson-dev \
libboost-all-dev \
liblog4cpp5-dev \
sudo \
net-tools \
iptables
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN pip install pip -U
RUN pip install scikit-learn -U
RUN pip install onnx -U
RUN pip install pybind11 -U
RUN pip install ultralytics -U
RUN pip install torchaudio -U
RUN pip install pybombs
RUN pybombs config makewidth 4
RUN pybombs recipes add gr-recipes https://github.com/gnuradio/gr-recipes.git
RUN pybombs recipes add gr-etcetera https://github.com/gnuradio/gr-etcetera.git
RUN mkdir -p /opt/gnuradio/v3.10
RUN pybombs prefix init /opt/gnuradio/v3.10 -R gnuradio-default
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN source /opt/gnuradio/v3.10/setup_env.sh && \
uhd_images_downloader
ADD . /build/gr-spectrumdetect
RUN cd /build/gr-spectrumdetect/ && \
mkdir -p build && \
cd build && \
source /opt/gnuradio/v3.10/setup_env.sh && \
cmake -D CMAKE_INSTALL_PREFIX=/opt/gnuradio/v3.10/ ../ && \
make && \
make install && \
ldconfig
RUN cd /build/ && \
git clone -b v1.1.0 https://github.com/TorchDSP/torchsig.git && \
cd torchsig/ && \
pip install -e .
RUN pip uninstall opencv-python -y
RUN pip install opencv-python-headless
WORKDIR /workspace