Skip to content

Commit 0fe9e03

Browse files
Update Dockerfile.debian
1 parent fd7be1c commit 0fe9e03

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/ciimage/Dockerfile.debian

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
1-
# Use a specific Debian base image
2-
FROM debian:buster
1+
# Use a specific Debian Bookworm base image
2+
FROM debian:bookworm
33

44
# Set environment variables to avoid interaction
55
ENV DEBIAN_FRONTEND=noninteractive \
66
TZ=UTC
77

88
# Install system dependencies and clean up
99
RUN apt-get update && \
10-
apt-get install -y \
10+
apt-get install -y --no-install-recommends \
1111
build-essential \
1212
clang \
1313
gcc \
1414
g++ \
1515
gdb \
1616
llvm \
17-
libstdc++-8-dev \
17+
libstdc++-12-dev \
1818
wget \
1919
python3 \
20+
python3-full \
2021
python3-pip \
21-
git && \
22+
git \
23+
ca-certificates && \
2224
apt-get clean && \
2325
rm -rf /var/lib/apt/lists/*
2426

25-
# Install Meson and Ninja
26-
RUN python3 -m pip install --no-cache-dir meson ninja==1.10.2
27+
# Install Meson and Ninja using pip
28+
RUN python3 -m pip install --no-cache-dir meson==1.3.0 ninja==1.10.2 --break-system-packages
2729

2830
# Set environment variables
29-
ENV CC=/usr/bin/clang
30-
ENV CXX=/usr/bin/clang++
31-
ENV LD_LIBRARY_PATH=/usr/local/lib
31+
ENV CC=clang \
32+
CXX=clang++ \
33+
LD_LIBRARY_PATH=/usr/local/lib
3234

3335
# Set working directory
3436
WORKDIR /workspace
3537

3638
# Default command
37-
CMD ["bash"]
39+
CMD ["bash"]

0 commit comments

Comments
 (0)