2021-09-19 00:43:56 +08:00
|
|
|
# debian with node installed
|
|
|
|
FROM node:16
|
2021-09-19 00:38:12 +08:00
|
|
|
|
|
|
|
# add setup_cpp.js
|
2021-09-18 20:06:59 +08:00
|
|
|
ADD "./dist/" "/"
|
|
|
|
WORKDIR "/"
|
2021-09-19 00:38:12 +08:00
|
|
|
|
|
|
|
# run installation
|
2022-02-14 11:48:58 +08:00
|
|
|
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --cppcheck true --ccache true --vcpkg true --doxygen true --gcovr true
|
2021-09-19 00:38:12 +08:00
|
|
|
|
2022-01-18 10:51:14 +08:00
|
|
|
# reload the environment
|
|
|
|
CMD source ~/.profile
|
|
|
|
|
2022-02-14 11:48:58 +08:00
|
|
|
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
|
|
|
|
|
2021-09-30 08:56:28 +08:00
|
|
|
ENTRYPOINT [ "/bin/sh" ]
|