You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 satır
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"