Skip to content

Conversation

vbvictor
Copy link
Contributor

@vbvictor vbvictor commented Oct 6, 2025

Based on #162007 (comment), we should avoid having short links in docker images.

@llvmbot
Copy link
Member

llvmbot commented Oct 6, 2025

@llvm/pr-subscribers-bolt

Author: Baranov Victor (vbvictor)

Changes

Based on #162007 (comment), we should avoid having short links in docker images.


Full diff: https://github.com/llvm/llvm-project/pull/162154.diff

1 Files Affected:

  • (modified) bolt/utils/docker/Dockerfile (+2-2)
diff --git a/bolt/utils/docker/Dockerfile b/bolt/utils/docker/Dockerfile
index c58e1a533df94..86d1be2141655 100644
--- a/bolt/utils/docker/Dockerfile
+++ b/bolt/utils/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:24.04 AS builder
+FROM docker.io/library/ubuntu:24.04 AS builder
 
 ARG DEBIAN_FRONTEND=noninteractive
 ENV TZ=UTC
@@ -25,6 +25,6 @@ RUN mkdir build && \
     ninja check-bolt && \
     ninja install-llvm-bolt install-merge-fdata install-bolt_rt
 
-FROM ubuntu:24.04
+FROM docker.io/library/ubuntu:24.04
 
 COPY --from=builder /home/bolt/install /usr/local

@vbvictor vbvictor merged commit 578314e into llvm:main Oct 8, 2025
11 checks passed
svkeerthy pushed a commit that referenced this pull request Oct 9, 2025
Based on
#162007 (comment),
we should avoid having short links in docker images.
clingfei pushed a commit to clingfei/llvm-project that referenced this pull request Oct 10, 2025
Based on
llvm#162007 (comment),
we should avoid having short links in docker images.
akadutta pushed a commit to akadutta/llvm-project that referenced this pull request Oct 14, 2025
Based on
llvm#162007 (comment),
we should avoid having short links in docker images.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants