setup-cpp/building/docker/debian_node.dockerfile

14 lines
520 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 --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true
# reload the environment and print the versions
CMD source ~/.profile && clang --version && cmake --version && ninja --version && ccache --version && cppcheck --version && vcpkg --version && doxygen --version && dot --version && gcovr --version
ENTRYPOINT [ "/bin/sh" ]