File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 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
55ENV DEBIAN_FRONTEND=noninteractive \
66 TZ=UTC
77
88# Install system dependencies and clean up
99RUN 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
3436WORKDIR /workspace
3537
3638# Default command
37- CMD ["bash"]
39+ CMD ["bash"]
You can’t perform that action at this time.
0 commit comments