Skip to content

Commit 6ca8235

Browse files
committed
zephyr-lite: bump sdk to zephyr-sdk-1.0.0
Upgrade zephyr-base to v0.29.0 and bump sdk to zephyr-sdk-1.0.0 Signed-off-by: Mateusz Redzynia <mateuszx.redzynia@intel.com>
1 parent 067de05 commit 6ca8235

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

scripts/docker_build/zephyr_lite/Dockerfile

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,31 @@
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.
1010
USER 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
2627
FROM 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
5354
ENV 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
5557
ENV ZEPHYR_TOOLCHAIN_VARIANT=zephyr
5658

5759
CMD ["/bin/bash", "-l"]

0 commit comments

Comments
 (0)