blob: 2206e566af6c126f2b64e1ae78d36d33b1dcd4f6 (
plain)
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
|
# please follow docker best practices
# https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/
FROM ubuntu:20.04
LABEL maintainer="Ettus Research"
# This will make apt-get install without question
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y install -q \
build-essential \
ccache \
curl \
git \
sudo \
# Install UHD dependencies
abi-dumper \
cmake \
doxygen \
dpdk \
libboost-all-dev \
libdpdk-dev \
libgps-dev \
libgps-dev \
libudev-dev \
libusb-1.0-0-dev \
ncompress \
ninja-build \
python3-dev \
python3-docutils \
python3-mako \
python3-numpy \
python3-pip \
python3-requests \
# Install deb dependencies
debootstrap \
devscripts \
pbuilder \
debhelper \
libncurses5-dev \
python3-ruamel.yaml \
&& \
rm -rf /var/lib/apt/lists/*
# Required for running pbuilder to build debs in docker on Ubuntu 20.04
# because of this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968927
RUN wget https://launchpad.net/ubuntu/+archive/primary/+files/debootstrap_1.0.124_all.deb && \
dpkg -i debootstrap_1.0.124_all.deb && \
rm debootstrap_1.0.124_all.deb
|