-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (18 loc) · 771 Bytes
/
Dockerfile
File metadata and controls
28 lines (18 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM alpine:3.20.3
RUN apk update
RUN apk add --no-cache python3 mkdocs-material py3-regex py3-requests py3-colorama cmake make g++ git
RUN apk add --no-cache 'clang19-libs' 'clang19' 'clang19-extra-tools' --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
WORKDIR /opt/clang
RUN wget https://raw.githubusercontent.com/llvm/llvm-project/refs/tags/llvmorg-19.1.3/clang/bindings/python/clang/__init__.py
RUN wget https://raw.githubusercontent.com/llvm/llvm-project/refs/tags/llvmorg-19.1.3/clang/bindings/python/clang/cindex.py
WORKDIR /opt
ADD cparser.py .
ADD generator_markdown.py .
ADD generator.py .
ADD run_examples.py .
ADD common.py .
ADD run.sh .
RUN chmod +x run.sh
RUN ls -la /usr/lib/llvm19/lib
ENTRYPOINT ["/bin/sh", "/opt/run.sh"]
CMD [""]