Skip to content

Commit e8bc7e7

Browse files
authored
Fix NXP Zephyr docker image. (#34211)
Pip in newer ubunutu refuses system-wide installs. For now use a flag to allow breakage (even though separate virtualenv would be better)
1 parent 395a613 commit e8bc7e7

File tree

2 files changed

+2
-2
lines changed
  • integrations/docker/images

2 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
63 : [NXP] Add docker image for Zephyr examples
1+
64 : [NXP] Add `--break-system-packages` to pip install

integrations/docker/images/stage-2/chip-build-nxp-zephyr/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN set -x \
1414
&& tar xvf zephyr-sdk-0.16.5_linux-x86_64_minimal.tar.xz \
1515
&& rm -rf zephyr-sdk-0.16.5_linux-x86_64_minimal.tar.xz \
1616
&& zephyr-sdk-0.16.5/setup.sh -t arm-zephyr-eabi \
17-
&& pip3 install -U --no-cache-dir west \
17+
&& pip3 install --break-system-packages -U --no-cache-dir west \
1818
&& west init zephyrproject -m https://github.com/nxp-zephyr-ear/zephyr.git --mr zephyr_rw61x_v3.6_RFP \
1919
&& cd zephyrproject/zephyr \
2020
&& west update -o=--depth=1 -n \

0 commit comments

Comments
 (0)