diff options
author | terminaldweller <thabogre@gmail.com> | 2021-02-19 14:52:22 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-02-19 14:52:22 +0000 |
commit | 5d7b4eb744d0ed438dbea0b5552a416db2c951a2 (patch) | |
tree | 03091797c1f6a38ae3e709c452c583875e82d48a | |
parent | updated the readme accordingly with the new cmake build (diff) | |
parent | update for gitpod (diff) | |
download | cgrep-5d7b4eb744d0ed438dbea0b5552a416db2c951a2.tar.gz cgrep-5d7b4eb744d0ed438dbea0b5552a416db2c951a2.zip |
Merge branch 'master' into cmake
Diffstat (limited to '')
-rw-r--r-- | .gitpod.Dockerfile | 26 | ||||
-rw-r--r-- | .gitpod.yml | 5 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..ae58dfe --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,26 @@ +FROM gitpod/workspace-full + +# Install custom tools, runtimes, etc. +# For example "bastet", a command-line tetris clone: +# RUN brew install bastet +# +# More information: https://www.gitpod.io/docs/config-docker/ +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-9 main" \ + && apt-get update \ + && 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-9 LLVM_CONF=llvm-config-9 + +RUN mkdir devi +WORKDIR /devi
\ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..c5f62f8 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,5 @@ +image: + file: .gitpod.Dockerfile + +tasks: + - init: make CXX=clang-9 LLVM_CONF=llvm-config-9 |