Skip to content

Commit

Permalink
[NXP] Migrate docker image to NXP Zephyr 3.7 downstream release
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Le Bourhis <[email protected]>
  • Loading branch information
axelnxp committed Sep 16, 2024
1 parent 9de3c6b commit fdbd0e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion integrations/docker/images/base/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
76 : [Telink] Update Docker image (Zephyr update)
77 : [NXP] Migrate docker image to NXP Zephyr 3.7 downstream release
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ RUN set -x \

WORKDIR /opt/nxp-zephyr
RUN set -x \
&& wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.5/zephyr-sdk-0.16.5_linux-x86_64_minimal.tar.xz \
&& tar xvf zephyr-sdk-0.16.5_linux-x86_64_minimal.tar.xz \
&& rm -rf zephyr-sdk-0.16.5_linux-x86_64_minimal.tar.xz \
&& zephyr-sdk-0.16.5/setup.sh -t arm-zephyr-eabi \
&& wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.8/zephyr-sdk-0.16.8_linux-x86_64_minimal.tar.xz \
&& tar xvf zephyr-sdk-0.16.8_linux-x86_64_minimal.tar.xz \
&& rm -rf zephyr-sdk-0.16.8_linux-x86_64_minimal.tar.xz \
&& zephyr-sdk-0.16.8/setup.sh -t arm-zephyr-eabi \
&& pip3 install --break-system-packages -U --no-cache-dir west \
&& west init zephyrproject -m https://github.com/nxp-zephyr-ear/zephyr.git --mr zephyr_rw61x_v3.6_RFP \
&& cd zephyrproject/zephyr \
&& west init zephyrproject -m https://github.com/nxp-zephyr/nxp-zsdk.git --mr nxp-v3.7.0 \
&& cd zephyrproject \
&& west update -o=--depth=1 -n \
&& west zephyr-export \
&& : # last line

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

COPY --from=build /opt/nxp-zephyr/zephyr-sdk-0.16.5/ /opt/nxp-zephyr/zephyr-sdk-0.16.5/
COPY --from=build /opt/nxp-zephyr/zephyr-sdk-0.16.8/ /opt/nxp-zephyr/zephyr-sdk-0.16.8/
COPY --from=build /opt/nxp-zephyr/zephyrproject/ /opt/nxp-zephyr/zephyrproject/

WORKDIR /opt/nxp-zephyr

ENV ZEPHYR_NXP_BASE=/opt/nxp-zephyr/zephyrproject/zephyr
ENV ZEPHYR_NXP_SDK_INSTALL_DIR=/opt/nxp-zephyr/zephyr-sdk-0.16.5
ENV ZEPHYR_NXP_SDK_INSTALL_DIR=/opt/nxp-zephyr/zephyr-sdk-0.16.8

0 comments on commit fdbd0e5

Please sign in to comment.