qemu-build: Update base image to ubuntu:bionic
qemu 5.2 fails to build under Ubuntu 16.04. Upgrade to the base image
to the one specified by scripts/build-qemu-robot-docker.sh (bionic,
18.04).
Change-Id: Id135f0c3118a6aa997ddcd578fe98af4a9ae17de
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/qemu-build.sh b/qemu-build.sh
index 17111e9..37da9c2 100755
--- a/qemu-build.sh
+++ b/qemu-build.sh
@@ -99,8 +99,14 @@
chmod a+x "${WORKSPACE}"/build.sh
# Configure docker build
+
+# !!!
+# Keep the base docker image in sync with the image under which we run the
+# resulting qemu binary.
+# !!!
+
Dockerfile=$(cat << EOF
-FROM ${DOCKER_BASE}ubuntu:16.04
+FROM ${DOCKER_BASE}ubuntu:bionic
${PROXY}
@@ -116,7 +122,6 @@
libglib2.0-dev \
libpixman-1-dev \
make \
- python-yaml \
python3-yaml \
iputils-ping