[libcxx-commits] [libcxx] 3765d28 - [libc++] Provide a way to trigger rebuild of Docker images in the CI

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 9 07:00:39 PDT 2021


Author: Louis Dionne
Date: 2021-09-09T09:59:44-04:00
New Revision: 3765d284c4b1f6ed4b2230ab544a8e9047b504dd

URL: https://github.com/llvm/llvm-project/commit/3765d284c4b1f6ed4b2230ab544a8e9047b504dd
DIFF: https://github.com/llvm/llvm-project/commit/3765d284c4b1f6ed4b2230ab544a8e9047b504dd.diff

LOG: [libc++] Provide a way to trigger rebuild of Docker images in the CI

Added: 
    

Modified: 
    libcxx/utils/ci/Dockerfile

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 78a779bcd4ea..6aebebf05a70 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -24,7 +24,7 @@
 # To update the image, rebuild it and push it to ldionne/libcxx-builder (which
 # will obviously only work if you have permission to do so).
 #
-#   $ docker build -t ldionne/libcxx-builder .
+#   $ docker build -t ldionne/libcxx-builder libcxx/utils/ci
 #   $ docker push ldionne/libcxx-builder
 #
 
@@ -33,6 +33,12 @@ FROM ubuntu:bionic
 # Make sure apt-get doesn't try to prompt for stuff like our time zone, etc.
 ENV DEBIAN_FRONTEND=noninteractive
 
+# This dummy command is meant to be edited from time to time, which causes the
+# CI builders to rebuild their copy of the Docker image. This is not a great
+# solution, however without that, the CI builders will keep the same cached
+# Docker image forever.
+RUN echo 1
+
 RUN apt-get update && apt-get install -y bash curl
 
 # Install various tools used by the build or the test suite


        


More information about the libcxx-commits mailing list