aboutsummaryrefslogblamecommitdiffstats
path: root/llvm/Dockerfile
blob: 72a626aee0cc93620cc6cfa1fbf24f5c9e487ab4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                
FROM ubuntu:18.04
RUN apt update && apt upgrade
RUN apt install wget gnupg2 software-properties-common make git -y

RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
      && add-apt-repository "deb http://apt.llvm.org/bionic/   llvm-toolchain-bionic-10  main" \
      && apt-get update \
      && apt-get install clang-10 llvm-10-dev libclang-common-10-dev libclang-10-dev -y

RUN git clone https://github.com/bloodstalker/cgrep \
      && cd cgrep \
      && git submodule init \
      && git submodule update \
      && make CXX=clang-10 LLVM_CONF=llvm-config-10