2021-09-19 01:05:52 +08:00
|
|
|
# debian
|
2021-09-19 01:31:46 +08:00
|
|
|
FROM debian:bullseye
|
2021-09-19 01:05:52 +08:00
|
|
|
|
|
|
|
# add setup_cpp
|
|
|
|
WORKDIR "/"
|
2021-09-19 01:32:52 +08:00
|
|
|
RUN apt-get update -qq && apt-get install -y --no-install-recommends apt-utils wget
|
2021-09-19 01:05:52 +08:00
|
|
|
RUN wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux"
|
|
|
|
RUN chmod +x ./setup_cpp_linux
|
|
|
|
|
|
|
|
# install llvm, cmake, ninja, ccache, and conan
|
|
|
|
RUN ./setup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan true
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/bin/bash" ]
|