@@ -1,11 +1,9 @@
-FROM ubuntu:22.04
+FROM ubuntu:24.04
RUN apt update && \
- apt install -y git coccinelle build-essential python3 python3-pip python-is-python3 flex bison libelf1 libelf-dev && \
+ apt install -y git coccinelle build-essential python3 python3-zstandard python-is-python3 flex bison libelf1 libelf-dev && \
rm -rf /var/lib/apt/lists/*
-RUN pip install pyzstd zstandard
-
RUN git clone https://github.com/hauke/backports.git
RUN /backports/devel/backports-update-manager --yes --no-git-update && \
Use Ubuntu 24.04 as the base for the dev container. The Ubuntu PPA kernel in version 5.19 or higher are not compiling with Ubuntu 22.04 any more. They need GCC version 12 or higher. This removes the pip installation and uses zstandard from the Ubuntu package repository instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- .devcontainer/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)