setup-cpp/building/docker/debian_node.dockerfile

14 lines
279 B
Plaintext
Raw Normal View History

2021-09-19 00:43:56 +08:00
# debian with node installed
FROM node:16
# add setup_cpp.js
2021-09-18 20:06:59 +08:00
ADD "./dist/" "/"
WORKDIR "/"
# run installation
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
# reload the environment
CMD source ~/.profile
ENTRYPOINT [ "/bin/sh" ]