aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2024-04-01 21:47:21 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2024-04-02 22:13:47 +0200
commit5b3a658d91d75afd7b5faf66a569d40c15776886 (patch)
tree7765b2931f761d447a885adee6f365aae1dac56d
parentdea79504ad0befeb18a7fd8260bcef405214956c (diff)
downloadbackports-5b3a658d91d75afd7b5faf66a569d40c15776886.tar.gz
CI: Use Ubuntu 24.04 as dev container base
Use Ubuntu 24.04 as the base for the dev container. The Ubuntu PPA kernel in version 5.19 and 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>
-rw-r--r--.devcontainer/Dockerfile6
1 files changed, 2 insertions, 4 deletions
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 && \