[libcxx-commits] [libcxx] [libc++][CI] Improves updating Docker image. (PR #134497)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 5 06:49:50 PDT 2025


https://github.com/mordante created https://github.com/llvm/llvm-project/pull/134497

This makes it easier to build a new Docker image in the CI. Since the new image is not used automatically it's safe to commit these changes directly to main. Then use a PR to test the new image.

>From 59ffa0e57bea4e10b0454898d7e1c1baee06a7cb Mon Sep 17 00:00:00 2001
From: Mark de Wever <koraq at xs4all.nl>
Date: Sat, 5 Apr 2025 15:47:09 +0200
Subject: [PATCH] [libc++][CI] Improves updating Docker image.

This makes it easier to build a new Docker image in the CI. Since the
new image is not used automatically it's safe to commit these changes
directly to main. Then use a PR to test the new image.
---
 libcxx/utils/ci/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index af8ebd4d405f2..e0591f0224102 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -44,6 +44,10 @@
 ARG BASE_IMAGE
 FROM $BASE_IMAGE AS builder-base
 
+# Changing this file causes a rebuild of the image in a GitHub action.
+# The date uses the ISO format YYYY-MM-DD.
+RUN echo "Last forced update executed on 2025-04-05."
+
 # Make sure apt-get doesn't try to prompt for stuff like our time zone, etc.
 ENV DEBIAN_FRONTEND=noninteractive
 



More information about the libcxx-commits mailing list