File tree 1 file changed +5
-5
lines changed
integrations/docker/images/stage-2/chip-build-k32w
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,24 +19,24 @@ RUN set -x \
19
19
20
20
RUN set -x \
21
21
&& west init -m https://github.com/nxp-mcuxpresso/mcux-sdk --mr "MCUX_2.6.14_K32W0" \
22
- && west update \
22
+ && west update -o=--depth=1 -n -f smart \
23
23
&& chmod +x core/tools/imagetool/sign_images.sh \
24
24
&& ln -sf ../rtos core \
25
25
&& ln -sf ../middleware core \
26
26
&& cp -R examples/* core/boards && rm -rf examples \
27
27
&& : # last line
28
28
29
+ WORKDIR /opt/k32w1_sdk
30
+
29
31
RUN set -x \
30
- && mkdir -p k32w1/repo \
31
- && cd k32w1/repo \
32
32
&& west init -m https://github.com/nxp-mcuxpresso/mcux-sdk --mr "MCUX_2.16.000" \
33
33
&& west update -o=--depth=1 -n -f smart \
34
- && cd - \
35
34
&& : # last line
36
35
37
36
FROM ghcr.io/project-chip/chip-build:${VERSION}
38
37
39
38
COPY --from=build /opt/sdk/ /opt/sdk/
39
+ COPY --from=build /opt/k32w1_sdk/ /opt/k32w1_sdk/
40
40
41
41
ENV NXP_K32W0_SDK_ROOT=/opt/sdk/core
42
- ENV NXP_SDK_ROOT=/opt/sdk/k32w1/repo
42
+ ENV NXP_SDK_ROOT=/opt/k32w1_sdk
You can’t perform that action at this time.
0 commit comments