Skip to content

Commit be6a5da

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

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
9+
RUN echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | tee -a /etc/apt/sources.list
10+
RUN echo 'deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' | tee -a /etc/apt/sources.list
11+
RUN apt-get install -y libclang-12-dev python3-clang-12
12+
13+
RUN pip install -r requirements.txt
14+
15+
ENTRYPOINT [ "bash" ]

0 commit comments

Comments
 (0)