Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

31 lines
1.1KB

  1. FROM ubuntu:18.04
  2. MAINTAINER Ray Burgemeestre
  3. RUN apt-get update && \
  4. apt-get -y install g++ git sudo wget gnupg2 && \
  5. apt-get -y install libssl-dev build-essential && \
  6. \
  7. echo deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main >> /etc/apt/sources.list && \
  8. echo deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main >> /etc/apt/sources.list && \
  9. wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - ; \
  10. apt update -y && \
  11. apt-get install -y clang-7 lldb-7 lld-7 && \
  12. apt-get install -y libc++-7-dev libc++-7-dev && \
  13. \
  14. rm -rf /var/lib/apt/lists/*
  15. # Install newer CMake to avoid some warnings the "FindBoost" script throws on
  16. # more recent versions of boost that the system CMake doesn't now about.
  17. RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2.tar.gz && \
  18. tar -zxf cmake-3.16.2.tar.gz && \
  19. pushd cmake-3.16.2 && \
  20. ./bootstrap && \
  21. make -j $(nproc) && \
  22. make install && \
  23. popd && \
  24. rm -rf cmake-3.16.2 && \
  25. rm -rf cmake-3.16.2.tar.gz
  26. CMD "/bin/bash"