setup-cpp/building/docker/linux.dockerfile

15 lines
412 B
Plaintext
Raw Normal View History

# A tiny debian with node binary installed
FROM node:12-slim
# add setup_cpp.js
2021-09-18 20:06:59 +08:00
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
ENTRYPOINT [ "/bin/sh" ]