diff options
author | bloodstalker <thabogre@gmail.com> | 2020-05-10 13:04:10 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-05-10 13:04:10 +0000 |
commit | f279c7068d8209fb84c80f1fcf0f391bb92c19af (patch) | |
tree | b3d1f496fc3f06f0d36789c53855b95ec35fd59d | |
parent | update (diff) | |
download | dockerimages-f279c7068d8209fb84c80f1fcf0f391bb92c19af.tar.gz dockerimages-f279c7068d8209fb84c80f1fcf0f391bb92c19af.zip |
update
-rw-r--r-- | llvm.dockerfile | 13 | ||||
-rw-r--r-- | llvm/Dockerfile | 15 |
2 files changed, 15 insertions, 13 deletions
diff --git a/llvm.dockerfile b/llvm.dockerfile deleted file mode 100644 index a770b18..0000000 --- a/llvm.dockerfile +++ /dev/null @@ -1,13 +0,0 @@ - -FROM ubuntu:18.04 -RUN apt update && apt upgrade - -RUN wget https://apt.llvm.org/llvm.sh \ - && chmod +x ./llvm.sh \ - && ./llvm.sh 11 - -RUN git clone https://github.com/bloodstalker/cgrep \ - && cd cgrep \ - && git submodule init \ - && git submodule update \ - && make CXX=clang-11 LLVM_CONF=llvm-config-11 diff --git a/llvm/Dockerfile b/llvm/Dockerfile new file mode 100644 index 0000000..72a626a --- /dev/null +++ b/llvm/Dockerfile @@ -0,0 +1,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 |