Skip to content

Commit a02653f

Browse files
committed
[NXP] Updating NXP docker img file to gather NXP SDKs in a single img
+ Removing unused NXP SDK folder to reduce NXP docker file size Signed-off-by: Gatien Chapon <gatien.chapon@nxp.com>
1 parent 7b8467b commit a02653f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
78 : [Silabs] Update Silabs docker WiseConnect 3.3.2
1+
79 : [NXP] Updating NXP docker image to include k32w0 platform

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ RUN set -x \
1010

1111
WORKDIR /opt/nxp/
1212

13+
ARG NXP_SDK_EXAMPLE_PATH=nxp_matter_support/github_sdk/common_sdk/repo/examples
14+
1315
RUN set -x \
1416
&& git clone --branch v1.4.0-pvw1 https://github.com/NXP/nxp_matter_support.git \
1517
&& pip3 install --break-system-packages -U --no-cache-dir west \
16-
&& ./nxp_matter_support/scripts/update_nxp_sdk.py --platform common \
18+
&& ./nxp_matter_support/scripts/update_nxp_sdk.py \
19+
&& cd $NXP_SDK_EXAMPLE_PATH \
20+
&& find . -maxdepth 1 -mindepth 1 -type d ! -name '.*' -a ! -name '*rt1170*' -a ! -name '*rt1060*' -a ! -name '*rw612*' -a ! -name '*k32w*' -a ! -name '*mcxw*' -exec rm -rf {} + `# Remove unused folder to reduce image size` \
1721
&& : # last line
1822

1923
FROM ghcr.io/project-chip/chip-build:${VERSION}

0 commit comments

Comments
 (0)