linux_Dockerfile: only copy gn binary into docker
Minimize the size of the docker image Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
parent
2215278a53
commit
404616d621
@ -417,8 +417,9 @@ ENV WASI_SDK_PATH="/tools/wasi-sdk"
|
||||
ENV PATH="/tools/wamr:$PATH"
|
||||
|
||||
# gn tool
|
||||
COPY --from=nuttx-tools /tools/gn/ /tools/gn/
|
||||
ENV PATH="/tools/gn/gn/out:$PATH"
|
||||
RUN mkdir -p /tools/gn
|
||||
COPY --from=nuttx-tools /tools/gn/gn/out/gn /tools/gn
|
||||
ENV PATH="/tools/gn:$PATH"
|
||||
|
||||
# ZAP tool and nodejs packet
|
||||
COPY --from=nuttx-tools /tools/zap/ /tools/zap/
|
||||
|
Loading…
Reference in New Issue
Block a user