setup-cpp/building/docker/debian.dockerfile

15 lines
439 B
Plaintext
Raw Normal View History

2021-09-19 01:05:52 +08:00
# debian
FROM debian:bullseye
2021-09-19 01:05:52 +08:00
# add setup_cpp
WORKDIR "/"
RUN apt-get update -qq
RUN apt-get install -y --no-install-recommends ca-certificates 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" ]