[libcxx-commits] [libcxx] 496d071 - [libc++][CI] Use fully qualified names in docker images (NFC) (#162156)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 8 14:54:15 PDT 2025


Author: Baranov Victor
Date: 2025-10-09T00:54:11+03:00
New Revision: 496d0719a2d27ad5ae5dc0feb3f3cb0ec67ea4f3

URL: https://github.com/llvm/llvm-project/commit/496d0719a2d27ad5ae5dc0feb3f3cb0ec67ea4f3
DIFF: https://github.com/llvm/llvm-project/commit/496d0719a2d27ad5ae5dc0feb3f3cb0ec67ea4f3.diff

LOG: [libc++][CI] Use fully qualified names in docker images (NFC) (#162156)

Based on
https://github.com/llvm/llvm-project/pull/162007#issuecomment-3373161948,
we should avoid having short links in docker images.

Added: 
    

Modified: 
    libcxx/utils/ci/Dockerfile
    libcxx/utils/ci/docker-compose.yml
    libcxx/utils/ci/vendor/android/Dockerfile.emulator

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 8e1c341c10b92..d22deec4dadab 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -181,7 +181,7 @@ EOF
 #                       Android Builder Base Image
 # ===----------------------------------------------------------------------===##
 
-FROM ubuntu:jammy AS android-builder-base
+FROM docker.io/library/ubuntu:jammy AS android-builder-base
 
 ARG ANDROID_CLANG_VERSION
 ARG ANDROID_CLANG_PREBUILTS_COMMIT

diff  --git a/libcxx/utils/ci/docker-compose.yml b/libcxx/utils/ci/docker-compose.yml
index e89623d2a847d..cac97a945b2a8 100644
--- a/libcxx/utils/ci/docker-compose.yml
+++ b/libcxx/utils/ci/docker-compose.yml
@@ -3,7 +3,7 @@ x-versions: &compiler_versions
   LLVM_HEAD_VERSION: 22
 
 x-image-versions: &image_versions
-  BASE_IMAGE: ubuntu:jammy
+  BASE_IMAGE: docker.io/library/ubuntu:jammy
   ACTIONS_BASE_IMAGE: ghcr.io/llvm/libcxx-linux-builder-base:77cb0980bcc2675b27d08141526939423fa0be76
 
 services:
@@ -33,7 +33,7 @@ services:
       dockerfile: Dockerfile
       target: android-buildkite-builder
       args:
-        BASE_IMAGE: ubuntu:noble
+        BASE_IMAGE: docker.io/library/ubuntu:noble
         ANDROID_CLANG_VERSION: r563880
         ANDROID_CLANG_PREBUILTS_COMMIT: 6ae4184bb8706f9731569b9a0a82be3fcdcb951c
         ANDROID_SYSROOT_COMMIT: f8b85cc5262c6e5cbc9a92c1bab2b18b32a4c63f

diff  --git a/libcxx/utils/ci/vendor/android/Dockerfile.emulator b/libcxx/utils/ci/vendor/android/Dockerfile.emulator
index 6ce9b82d258eb..bd864f6db1975 100644
--- a/libcxx/utils/ci/vendor/android/Dockerfile.emulator
+++ b/libcxx/utils/ci/vendor/android/Dockerfile.emulator
@@ -6,7 +6,7 @@
 #
 # ===----------------------------------------------------------------------===##
 
-FROM ubuntu:jammy
+FROM docker.io/library/ubuntu:jammy
 
 RUN apt-get update && apt-get install -y \
     curl \


        


More information about the libcxx-commits mailing list