-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
32 lines (27 loc) · 811 Bytes
/
Copy pathDockerfile.dev
File metadata and controls
32 lines (27 loc) · 811 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
29
30
31
32
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
ninja-build \
git \
clang-18 \
clang-tidy-18 \
clang-format-18 \
lldb-18 \
lld-18 \
libc++-18-dev \
libc++abi-18-dev \
python3 \
curl \
gdb \
valgrind \
&& rm -rf /var/lib/apt/lists/* \
&& update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100 \
&& update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100 \
&& update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-18 100 \
&& update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-18 100
ENV CC=clang
ENV CXX=clang++
WORKDIR /workspace
CMD ["/bin/bash"]