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"
|
ENV PATH="/tools/wamr:$PATH"
|
||||||
|
|
||||||
# gn tool
|
# gn tool
|
||||||
COPY --from=nuttx-tools /tools/gn/ /tools/gn/
|
RUN mkdir -p /tools/gn
|
||||||
ENV PATH="/tools/gn/gn/out:$PATH"
|
COPY --from=nuttx-tools /tools/gn/gn/out/gn /tools/gn
|
||||||
|
ENV PATH="/tools/gn:$PATH"
|
||||||
|
|
||||||
# ZAP tool and nodejs packet
|
# ZAP tool and nodejs packet
|
||||||
COPY --from=nuttx-tools /tools/zap/ /tools/zap/
|
COPY --from=nuttx-tools /tools/zap/ /tools/zap/
|
||||||
|
Loading…
Reference in New Issue
Block a user