mirror of https://github.com/aminya/setup-cpp
feat: add a normal debian docker image
This commit is contained in:
parent
5458ece5b9
commit
b011d26aa1
|
@ -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
|
||||
|
||||
|
|
|
@ -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" ]
|
Loading…
Reference in New Issue