diff mbox series

[4/4] CI: Use Ubuntu 24.04 as dev container base

Message ID 20240401215535.2432969-4-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show
Series [1/4] CI: Add libelf-dev to dev container | expand

Commit Message

Hauke Mehrtens April 1, 2024, 9:55 p.m. UTC
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(-)
diff mbox series

Patch

diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index f758c9cb..cdf5d124 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -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 && \