diff --git a/building/docker/linux.dockerfile b/building/docker/linux.dockerfile index 30737bde..e19d1f28 100644 --- a/building/docker/linux.dockerfile +++ b/building/docker/linux.dockerfile @@ -1,14 +1,10 @@ -# A tiny debian with node binary installed -FROM node:12-slim +# debian with node installed +FROM node:16 # add setup_cpp.js ADD "./dist/" "/" WORKDIR "/" -# install unzip and xz-utils for the slim image (a standard debian already has these) -RUN apt-get update -qq -RUN apt-get install -y --no-install-recommends unzip - # run installation RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true diff --git a/building/docker/linux_slim.dockerfile b/building/docker/linux_slim.dockerfile new file mode 100644 index 00000000..2ed2c26d --- /dev/null +++ b/building/docker/linux_slim.dockerfile @@ -0,0 +1,15 @@ +# a tiny debian with node installed +FROM node:16-slim + +# add setup_cpp.js +ADD "./dist/" "/" +WORKDIR "/" + +# install unzip for the slim image (a standard debian already has it) +RUN apt-get update -qq +RUN apt-get install -y --no-install-recommends unzip + +# run installation +RUN node ./setup_cpp.js --compiler llvm --cmake true --ninja true --ccache true --conan true + +ENTRYPOINT [ "/bin/sh" ] \ No newline at end of file