setup-cpp/building/docker/debian_node.dockerfile

24 lines
508 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
CMD source ~/.profile
RUN clang --version
RUN cmake --version
RUN ninja --version
RUN ccache --version
RUN cppcheck --version
RUN vcpkg --version
RUN doxygen --version
RUN dot --version
RUN gcovr --version
ENTRYPOINT [ "/bin/sh" ]