Skip to content

Commit ee3a6a1

Browse files
authored
[NXP] Update NXP zephyr docker image to zephyr 4.3 (project-chip#42431)
Signed-off-by: Martin Girardot <[email protected]>
1 parent 4f0a3f0 commit ee3a6a1

File tree

2 files changed

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

2 files changed

+8
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
177 : [Telink] Update Docker image (Zephyr update)
1+
178 : [NXP] Update Docker image (Zephyr update)

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ RUN set -x \
1010

1111
WORKDIR /opt/nxp-zephyr
1212
RUN set -x \
13-
&& wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
14-
&& tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
15-
&& rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
16-
&& zephyr-sdk-0.17.0/setup.sh -t arm-zephyr-eabi \
13+
&& ZEPHYR_SDK_VERSION=0.17.4 \
14+
&& NXP_ZSDK_VERSION=nxp-v4.3.0 \
15+
&& wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZEPHYR_SDK_VERSION}/zephyr-sdk-${ZEPHYR_SDK_VERSION}_linux-x86_64.tar.xz | tar -xJ \
16+
&& zephyr-sdk-${ZEPHYR_SDK_VERSION}/setup.sh -t arm-zephyr-eabi \
1717
&& pip3 install --break-system-packages -U --no-cache-dir west \
18-
&& west init zephyrproject -m https://github.com/nxp-zephyr/nxp-zsdk.git --mr nxp-v4.1.0 \
18+
&& west init zephyrproject -m https://github.com/nxp-zephyr/nxp-zsdk.git --mr ${NXP_ZSDK_VERSION} \
1919
&& cd zephyrproject \
2020
&& west update -o=--depth=1 -n \
2121
&& west zephyr-export \
2222
&& : # last line
2323

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

26-
COPY --from=build /opt/nxp-zephyr/zephyr-sdk-0.17.0/ /opt/nxp-zephyr/zephyr-sdk-0.17.0/
26+
COPY --from=build /opt/nxp-zephyr/zephyr-sdk-0.17.4/ /opt/nxp-zephyr/zephyr-sdk-0.17.4/
2727
COPY --from=build /opt/nxp-zephyr/zephyrproject/ /opt/nxp-zephyr/zephyrproject/
2828

2929
WORKDIR /opt/nxp-zephyr
3030

3131
ENV ZEPHYR_NXP_BASE=/opt/nxp-zephyr/zephyrproject/zephyr
32-
ENV ZEPHYR_NXP_SDK_INSTALL_DIR=/opt/nxp-zephyr/zephyr-sdk-0.17.0
32+
ENV ZEPHYR_NXP_SDK_INSTALL_DIR=/opt/nxp-zephyr/zephyr-sdk-0.17.4

0 commit comments

Comments
 (0)