diff mbox series

[75/75] CI: Add gcc-12 to devcontainer

Message ID 20240627234808.1253337-76-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show
Series backports: Update to kernel 6.1.95 | expand

Commit Message

Hauke Mehrtens June 27, 2024, 11:48 p.m. UTC
GCC 12 is needed to compile kernel modules for the mainline kernel
binaries 6.0 and 6.1 provided by Ubuntu. Add this extra compiler.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 .devcontainer/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index dee0c724..4a847e12 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -1,7 +1,7 @@ 
 FROM ubuntu:24.04
 
 RUN apt update && \
-	apt install -y git coccinelle build-essential python3 python3-zstandard libpython3.12 python-is-python3 flex bison libelf1 libelf-dev && \
+	apt install -y git coccinelle build-essential python3 python3-zstandard libpython3.12 python-is-python3 flex bison libelf1 libelf-dev gcc-12 && \
 	rm -rf /var/lib/apt/lists/*
 
 RUN git clone https://github.com/hauke/backports.git