[llvm] [BOLT] Update Docker to use Ubuntu 24.04 (PR #99421)

Tristan Ross via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 19:59:59 PDT 2024


https://github.com/RossComputerGuy created https://github.com/llvm/llvm-project/pull/99421

Updates the Dockerfile to use Ubuntu 24.04 due to CMake wanting a newer version. Can be tested by trying to build the Docker image currently in main and then try building the Docker image in this PR.

>From aeb0b03c217a7449add6070fbb7cee405464e769 Mon Sep 17 00:00:00 2001
From: Tristan Ross <tristan.ross at midstall.com>
Date: Wed, 17 Jul 2024 19:57:39 -0700
Subject: [PATCH] [BOLT] Update Docker to use Ubuntu 24.04

Updates the Dockerfile to use Ubuntu 24.04 due to CMake wanting a newer
version.
---
 bolt/utils/docker/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bolt/utils/docker/Dockerfile b/bolt/utils/docker/Dockerfile
index 722a07e46f9e4..c2108f7aec53c 100644
--- a/bolt/utils/docker/Dockerfile
+++ b/bolt/utils/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:20.04 AS builder
+FROM ubuntu:24.04 AS builder
 
 ARG DEBIAN_FRONTEND=noninteractive
 ENV TZ=UTC
@@ -26,6 +26,6 @@ RUN mkdir build && \
     ninja install-llvm-bolt install-perf2bolt install-merge-fdata \
       install-llvm-boltdiff install-bolt_rt
 
-FROM ubuntu:20.04
+FROM ubuntu:24.04
 
 COPY --from=builder /home/bolt/install /usr/local



More information about the llvm-commits mailing list