From 1e66e188069532eb50bb48e01709b89d5f8718e9 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Tue, 9 Jul 2024 15:54:52 +0100 Subject: [PATCH] CI: Refresh and upgrade the GCC-IBT container Upgrade from Debian buster to bookworm, GCC 11.3 to 11.4 and to be a non-root container. Signed-off-by: Andrew Cooper Reviewed-by: Anthony PERARD Release-Acked-By: Oleksii Kurochko --- ...ockerfile => 12-x86_64-gcc-ibt.dockerfile} | 81 +++++++++++-------- automation/gitlab-ci/build.yaml | 4 +- automation/scripts/containerize | 2 +- 3 files changed, 49 insertions(+), 38 deletions(-) rename automation/build/debian/{buster-gcc-ibt.dockerfile => 12-x86_64-gcc-ibt.dockerfile} (50%) diff --git a/automation/build/debian/buster-gcc-ibt.dockerfile b/automation/build/debian/12-x86_64-gcc-ibt.dockerfile similarity index 50% rename from automation/build/debian/buster-gcc-ibt.dockerfile rename to automation/build/debian/12-x86_64-gcc-ibt.dockerfile index ed9367aafb..3ce60e7d94 100644 --- a/automation/build/debian/buster-gcc-ibt.dockerfile +++ b/automation/build/debian/12-x86_64-gcc-ibt.dockerfile @@ -1,28 +1,33 @@ # syntax=docker/dockerfile:1 -FROM --platform=linux/amd64 debian:buster-slim AS builder +FROM --platform=linux/amd64 debian:bookworm-slim AS builder ENV DEBIAN_FRONTEND=noninteractive -ENV USER root -RUN apt-get update && \ - apt-get --quiet --yes --no-install-recommends install \ - bison \ - build-essential \ - ca-certificates \ - flex \ - g++-multilib \ - libc6-dev-i386 \ - libgmp-dev \ - libisl-dev \ - libmpc-dev \ - libmpfr-dev \ - patch \ +RUN <