From 54ed1f7c652e10c3ca39a34e039974248355a6f0 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 14 Apr 2025 16:55:04 +0300 Subject: [PATCH] yocto-builder/Dockerfile: Ubuntu 22.04 Upgrade to Ubuntu 22.04 because it is compatible with the Yocto Project release Walnascar and provides a newer Python version. Fixes: RuntimeError: Sorry, python 3.9.0 or later is required for this version of bitbake This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi --- .../docker-images/yocto-builder/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-images/yocto-builder/Dockerfile b/.github/workflows/docker-images/yocto-builder/Dockerfile index 87221b9..4035608 100644 --- a/.github/workflows/docker-images/yocto-builder/Dockerfile +++ b/.github/workflows/docker-images/yocto-builder/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: MIT -FROM ubuntu:20.04 +FROM ubuntu:22.04 ARG DEBIAN_FRONTEND="noninteractive" RUN apt-get update -qq @@ -10,12 +10,13 @@ RUN apt-get install -y eatmydata # Yocto/OE build host dependencies # Keep this in sync with -# https://git.yoctoproject.org/poky/tree/documentation/poky.yaml +# https://git.yoctoproject.org/poky/tree/documentation/poky.yaml.in +# https://git.yoctoproject.org/poky/tree/documentation/tools/host_packages_scripts/ubuntu_essential.sh RUN eatmydata apt-get install -qq -y \ - gawk wget git diffstat unzip texinfo gcc build-essential chrpath \ - socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \ - iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ - pylint3 xterm python3-subunit mesa-common-dev zstd liblz4-tool + build-essential chrpath cpio debianutils diffstat file gawk gcc \ + git iputils-ping libacl1 liblz4-tool locales python3 python3-git \ + python3-jinja2 python3-pexpect python3-pip python3-subunit socat \ + texinfo unzip wget xz-utils zstd # en_US.UTF-8 is required by the build system RUN eatmydata apt-get install -qq -y locales \