Skip to content

Commit 601d5cb

Browse files
committed
[Dockerfile] add file
1 parent 94528fc commit 601d5cb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM ubuntu:20.04
2+
3+
WORKDIR /clang-bind
4+
COPY . .
5+
6+
RUN apt-get update && apt-get install -y python3-pip build-essential wget
7+
8+
# Install libclang via development branch on https://apt.llvm.org/
9+
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
10+
RUN echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | tee -a /etc/apt/sources.list
11+
RUN echo 'deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | tee -a /etc/apt/sources.list
12+
RUN apt-get install -y libclang-12-dev python3-clang-12
13+
14+
RUN pip install -r requirements.txt
15+
16+
ENTRYPOINT [ "bash" ]

0 commit comments

Comments
 (0)