From be6a5dab0022b4f6b246f5fc5d9bfe154af8e147 Mon Sep 17 00:00:00 2001 From: Divyanshu Madan Date: Sun, 22 Aug 2021 03:37:04 +0530 Subject: [PATCH] [Dockerfile] add file --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..20f53ab --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM ubuntu:20.04 + +WORKDIR /clang-bind +COPY . . + +RUN apt-get update && apt-get install -y python3-pip build-essential wget + +RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - +RUN echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | tee -a /etc/apt/sources.list +RUN echo 'deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | tee -a /etc/apt/sources.list +RUN apt-get install -y libclang-12-dev python3-clang-12 + +RUN pip install -r requirements.txt + +ENTRYPOINT [ "bash" ] \ No newline at end of file