From 93a2797bfb86708d955673ee300a6fd6941bddfb Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Wed, 23 Oct 2024 20:22:36 -0400 Subject: [PATCH] Dockerfile: PR local changes for testing --- Containers/Ubuntu-22/Dockerfile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Containers/Ubuntu-22/Dockerfile b/Containers/Ubuntu-22/Dockerfile index 2206a919..f0da81f7 100644 --- a/Containers/Ubuntu-22/Dockerfile +++ b/Containers/Ubuntu-22/Dockerfile @@ -46,6 +46,8 @@ RUN apt-get update && \ curl \ flex \ git \ + gnupg \ + gnupg2 \ lcov \ jq \ m4 \ @@ -53,16 +55,20 @@ RUN apt-get update && \ mono-complete \ nasm \ npm \ - python3 \ - python3-pip \ - python3-venv \ software-properties-common \ sudo \ unzip \ uuid-dev \ wget \ && \ + apt-get update && \ + apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys F23C5A6CF475977595C89F51BA6932366A755776 && \ + add-apt-repository ppa:deadsnakes/ppa -y && \ + apt-get update && \ apt-get install --yes --no-install-recommends \ + python3.12 \ + python3.12-distutils \ + python3.12-venv \ g++-${GCC_MAJOR_VERSION} gcc-${GCC_MAJOR_VERSION} \ gcc-${GCC_MAJOR_VERSION}-x86-64-linux-gnux32 \ gcc-${GCC_MAJOR_VERSION}-aarch64-linux-gnu \ @@ -70,6 +76,10 @@ RUN apt-get update && \ gcc-${GCC_MAJOR_VERSION}-arm-linux-gnueabi \ gcc-${GCC_MAJOR_VERSION}-arm-linux-gnueabihf \ && \ + curl -O https://bootstrap.pypa.io/get-pip.py && \ + python3.12 get-pip.py && \ + python3.12 -m pip install --upgrade setuptools && \ + rm get-pip.py && \ apt-get upgrade -y && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*