From 7e8e9c3f17dc5af57a0cd818ca98f7ebe0348441 Mon Sep 17 00:00:00 2001 From: Steffen Hemer Date: Tue, 5 May 2026 07:00:00 +0200 Subject: [PATCH 1/2] yocto-ubuntu-26.04: Add container Copied the 'yocto-ubuntu-24.04' container and add some of the packages listed at [1] (there is no wrynrose docu yet): libacl1 libcrypt-dev (new for scarthgap+) python3-subunit python3-websockets (cmp separate 'apt-get' line in docu) xz-utils (came from a dependency previously) Additionally, moved the 'ca-certificate' install to the first apt run. Is this crucial to be installed after setting locales? [1] https://docs.yoctoproject.org/next/ref-manual/system-requirements.html#ubuntu-and-debian Signed-off-by: Steffen Hemer --- yocto-ubuntu-26.04/Containerfile | 67 ++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 yocto-ubuntu-26.04/Containerfile diff --git a/yocto-ubuntu-26.04/Containerfile b/yocto-ubuntu-26.04/Containerfile new file mode 100644 index 0000000..caf814e --- /dev/null +++ b/yocto-ubuntu-26.04/Containerfile @@ -0,0 +1,67 @@ +FROM ubuntu:26.04 + +RUN \ + apt-get update && \ + DEBIAN_FRONTEND="noninteractive" apt-get install -y -q --no-install-recommends \ + -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \ + bash-completion \ + bc \ + bison \ + bsdmainutils \ + build-essential \ + ca-certificates \ + chrpath \ + cpio \ + diffstat \ + file \ + flex \ + g++-multilib \ + gawk \ + gcc-multilib \ + git-core \ + gnupg \ + iputils-ping \ + less \ + libacl1 \ + libcrypt-dev \ + libegl1-mesa-dev \ + libgmp-dev \ + libmpc-dev \ + libncurses-dev \ + libsdl1.2-dev \ + libssl-dev \ + locales \ + lz4 \ + openssh-client \ + pipx \ + pylint \ + python3 \ + python3-git \ + python3-jinja2 \ + python3-pexpect \ + python3-pip \ + python3-subunit \ + python3-websockets \ + python-is-python3 \ + socat \ + sudo \ + texinfo \ + tmux \ + unzip \ + vim \ + wget \ + xterm \ + xz-utils \ + zstd \ + && rm -rf /var/lib/apt/lists/* && \ + locale-gen en_US.UTF-8 + +ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' + +RUN \ + wget -O /usr/local/bin/phyLinux https://download.phytec.de/Software/Linux/Yocto/Tools/phyLinux && \ + chmod a+x /usr/local/bin/phyLinux && \ + wget -O /usr/local/bin/repo https://storage.googleapis.com/git-repo-downloads/repo && \ + chmod a+x /usr/local/bin/repo + +RUN PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin PIPX_MAN_DIR=/usr/local/share/man pipx install kas==5.0 From 3784e7f790c26fcf21c84dca0bb6aa28000c5770 Mon Sep 17 00:00:00 2001 From: Steffen Hemer Date: Tue, 5 May 2026 08:20:10 +0200 Subject: [PATCH 2/2] yocto-ubuntu-24.04: Move ca-certificates install to first apt run That saves another 'apt update' run. Signed-off-by: Steffen Hemer --- yocto-ubuntu-24.04/Containerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/yocto-ubuntu-24.04/Containerfile b/yocto-ubuntu-24.04/Containerfile index 762b410..62ccc08 100644 --- a/yocto-ubuntu-24.04/Containerfile +++ b/yocto-ubuntu-24.04/Containerfile @@ -9,6 +9,7 @@ RUN \ bison \ bsdmainutils \ build-essential \ + ca-certificates \ chrpath \ cpio \ diffstat \ @@ -53,11 +54,6 @@ RUN \ ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' RUN \ - apt-get update && \ - apt-get install -y -q --no-install-recommends \ - -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" \ - ca-certificates \ - && rm -rf /var/lib/apt/lists/* && \ wget -O /usr/local/bin/phyLinux https://download.phytec.de/Software/Linux/Yocto/Tools/phyLinux && \ chmod a+x /usr/local/bin/phyLinux && \ wget -O /usr/local/bin/repo https://storage.googleapis.com/git-repo-downloads/repo && \