mirror of https://github.com/aminya/setup-cpp
feat: add docker file
This commit is contained in:
parent
a778f9bfce
commit
f96f8ff178
|
@ -0,0 +1,5 @@
|
|||
#### Creating the container
|
||||
FROM node:12-buster
|
||||
ADD "./dist/" "/"
|
||||
WORKDIR "/"
|
||||
RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -17,7 +17,9 @@
|
|||
"test.tsc": "tsc --noEmit",
|
||||
"test.unit": "jest --runInBand",
|
||||
"test": "run-p test.format test.lint test.tsc test.unit",
|
||||
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./building/pack-exe.js"
|
||||
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./building/scripts/pack-exe.js",
|
||||
"build.docker": "pnpm build && docker build -f ./building/docker/node.docker -t setup_cpp .",
|
||||
"start.docker": "docker run -t setup_cpp ."
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.x"
|
||||
|
|
Loading…
Reference in New Issue