setup-cpp/building/docker/debian.dockerfile

14 lines
412 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 && apt-get install -y --no-install-recommends 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" ]