Dockerfile: fix cp clang-extdef-mapping no effect

Use a wrong command `CMD`, and the correct is `RUN`.
That's a low level fault made by me.

Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
This commit is contained in:
xinbingnan 2022-11-28 19:50:39 +08:00 committed by Petro Karashchenko
parent 1d8d6e5ed2
commit 4800c166ec
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ ENV PATH="/tools/rust/cargo/bin:$PATH"
# ARM toolchain
COPY --from=nuttx-toolchain-arm /tools/clang-arm-none-eabi/ clang-arm-none-eabi/
CMD cp /usr/bin/clang-extdef-mapping-10 clang-arm-none-eabi/bin/clang-extdef-mapping
RUN cp /usr/bin/clang-extdef-mapping-10 clang-arm-none-eabi/bin/clang-extdef-mapping
ENV PATH="/tools/clang-arm-none-eabi/bin:$PATH"
COPY --from=nuttx-toolchain-arm /tools/gcc-arm-none-eabi/ gcc-arm-none-eabi/