aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/docker/uhd-builder-ubuntu2004.Dockerfile
diff options
context:
space:
mode:
authorSteven Koo <steven.koo@ni.com>2021-05-10 15:42:13 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-05-18 15:13:37 -0500
commitd97eb69c721d9e43ad859a7b24361f95b8b20349 (patch)
tree5be6b80e01cfa4842492d5e8501fa25b771fc8a3 /.ci/docker/uhd-builder-ubuntu2004.Dockerfile
parent2a38716fd81cf2372e55fe8edb413f77a9ab8362 (diff)
downloaduhd-d97eb69c721d9e43ad859a7b24361f95b8b20349.tar.gz
uhd-d97eb69c721d9e43ad859a7b24361f95b8b20349.tar.bz2
uhd-d97eb69c721d9e43ad859a7b24361f95b8b20349.zip
ci: Update docker images for Ubuntu with pbuilder
This changes adds pbuilder to the docker files to support building dsc into debs for use with uhd_ubuntu_deb.py. Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to '.ci/docker/uhd-builder-ubuntu2004.Dockerfile')
-rw-r--r--.ci/docker/uhd-builder-ubuntu2004.Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/.ci/docker/uhd-builder-ubuntu2004.Dockerfile b/.ci/docker/uhd-builder-ubuntu2004.Dockerfile
index 3b7d1ab41..2206e566a 100644
--- a/.ci/docker/uhd-builder-ubuntu2004.Dockerfile
+++ b/.ci/docker/uhd-builder-ubuntu2004.Dockerfile
@@ -34,5 +34,18 @@ RUN apt-get update && \
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