Skip to content

Commit 4342d3c

Browse files
committed
Dockerfile: Switch b4 installation to pip for latest version
Removed b4 from apt-get install and added installation via pip using --break-system-packages option. This change ensures the latest available version of b4 is used instead of the older version provided by apt, improving compatibility and access to recent features. Signed-off-by: Komal Bajaj <[email protected]>
1 parent 2f20f3a commit 4342d3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ RUN printf "Types: deb\nURIs: http://archive.ubuntu.com/ubuntu/\nSuites: noble n
2121
apt-get update && \
2222
apt-get install -y build-essential git clang-15 lld-15 flex bison bc libssl-dev curl kmod systemd-ukify && \
2323
apt-get install -y debhelper-compat libdw-dev:amd64 libelf-dev:amd64 && \
24-
apt-get install -y rsync mtools dosfstools lavacli u-boot-tools b4 cpio && \
24+
apt-get install -y rsync mtools dosfstools lavacli u-boot-tools cpio && \
2525
apt-get install -y gcc-aarch64-linux-gnu && \
2626
apt-get install -y python3-pip swig yamllint && \
2727
apt install -y python3-setuptools python3-wheel && \
2828
python3 -m pip install --break-system-packages dtschema==2025.08 jinja2 ply GitPython && \
29+
python3 -m pip install --break-system-packages b4==0.14.3 && \
2930
apt-get install -y yq && \
3031
apt-get install -y abigail-tools sparse && \
3132
apt-get install -y cmake libyaml-dev && \

0 commit comments

Comments
 (0)