Skip to content

Commit

Permalink
[Dockerfile] add file
Browse files Browse the repository at this point in the history
  • Loading branch information
diivm committed Aug 21, 2021
1 parent 94528fc commit be6a5da
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit be6a5da

Please sign in to comment.