diff options
author | bloodstalker <thabogre@gmail.com> | 2020-06-12 05:11:12 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-06-12 05:11:12 +0000 |
commit | d29687e21aef7a001794fb17826ea8eabf8154a6 (patch) | |
tree | d190af07e8b7948ae733987632bcab8ed3d358bc /llvm/Dockerfile | |
parent | update (diff) | |
download | dockerimages-d29687e21aef7a001794fb17826ea8eabf8154a6.tar.gz dockerimages-d29687e21aef7a001794fb17826ea8eabf8154a6.zip |
updated the cgrep image. now it works
Diffstat (limited to 'llvm/Dockerfile')
-rw-r--r-- | llvm/Dockerfile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/llvm/Dockerfile b/llvm/Dockerfile index 72a626a..ef52515 100644 --- a/llvm/Dockerfile +++ b/llvm/Dockerfile @@ -1,15 +1,20 @@ -FROM ubuntu:18.04 -RUN apt update && apt upgrade -RUN apt install wget gnupg2 software-properties-common make git -y +FROM ubuntu:20.04 +RUN apt update && apt upgrade -y +ENV TERM=xterm-256color +RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata +RUN apt install wget subversion gnupg2 software-properties-common make git xterm libffi7 -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" \ + && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main" \ && apt-get update \ - && apt-get install clang-10 llvm-10-dev libclang-common-10-dev libclang-10-dev -y + && apt-get install clang-9 llvm-9-dev libclang-common-9-dev libclang-9-dev libllvm9 -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 + && make CXX=clang-9 LLVM_CONF=llvm-config-9 + +RUN mkdir devi +WORKDIR /devi |