setup-cpp/building/docker/debian_node_slim.dockerfile

14 lines
304 B
Docker

# a tiny debian with node installed
FROM node:16-slim
# add setup_cpp.js
ADD "./dist/" "/"
WORKDIR "/"
# run installation
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true --vcpkg true
# reload the environment
CMD source ~/.profile
ENTRYPOINT [ "/bin/sh" ]