File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
scripts/docker_build/zephyr_lite Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 22# Copyright(c) 2025 Intel Corporation. All rights reserved.
33
44# Use zephyr-build as base image
5- FROM ghcr.io/zephyrproject-rtos/zephyr-build:v0.28.4 as base
5+ FROM ghcr.io/zephyrproject-rtos/zephyr-build:v0.29.0 as base
66
77# Remove additional toolchains.
88# As this is not ideal solution there is a plan to build docker image without zephyr-build as the base
99# and install only needed toolchains in the future.
1010USER root
1111
12- RUN cd /opt/toolchains/zephyr-sdk-0.17.4 && \
13- rm -rvf arc* \
14- micro* \
15- mips* \
16- nios* \
17- risc* \
18- sparc* \
19- sysroots \
20- x86* \
21- xtensa-espressif* \
22- xtensa-sample* \
23- xtensa-dc233c*
12+ RUN rm -rvf /opt/toolchains/zephyr-sdk-1.0.0/hosttools/sysroots && \
13+ rm -rvf /opt/fvps && \
14+ cd /opt/toolchains/zephyr-sdk-1.0.0/gnu && \
15+ rm -rvf arc* \
16+ micro* \
17+ mips* \
18+ nios* \
19+ risc* \
20+ sparc* \
21+ x86* \
22+ xtensa-espressif* \
23+ xtensa-sample* \
24+ xtensa-dc233c*
2425
2526# Use ubuntu24.04 as base for zephyr-lite
2627FROM ubuntu:24.04 as zephyr-lite
2728
28- # Copy needed files from base to zephyr-lite
29+ # Copy only required files from base image to zephyr-lite
2930# /opt for toolchains and sdk
3031# /usr for binaries and libs
3132# /home for libs installed in .local
@@ -51,7 +52,8 @@ RUN /opt/python/venv/bin/pip install 'cmake>=3.21' jsonschema
5152
5253# Set zephyr env variables
5354ENV PATH="/opt/python/venv/bin/:$PATH"
54- ENV ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-0.17.4
55+ ENV ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-1.0.0
56+ ENV ZSDK_VERSION=1.0.0
5557ENV ZEPHYR_TOOLCHAIN_VARIANT=zephyr
5658
5759CMD ["/bin/bash" , "-l" ]
You can’t perform that action at this time.
0 commit comments