[libcxx-commits] [libcxx] [libcxx][docker] Update android libc++ builders (PR #232887)
Sharjeel Khan via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 20 19:53:13 PDT 2026
================
@@ -28,7 +28,9 @@
# BUILDKITE_AGENT_TOKEN=<token>
ARG BASE_IMAGE_VERSION
-FROM ghcr.io/llvm/libcxx-linux-builder-base:${BASE_IMAGE_VERSION}
+FROM ghcr.io/llvm/libcxx-linux-builder:${BASE_IMAGE_VERSION}
+
+USER root
----------------
Sharjeel-Khan wrote:
We need root initially so we can install all the Android parts (Android platform tools, Android compiler, and Android sysroot) into /opt/android. Later, we need root so we can install Docker in line 101.
We do move to "libcxx-builder" user to set up buildkite dependencies and at the end so it can do build libc++ and run the tests on Android.
https://github.com/llvm/llvm-project/pull/232887
More information about the libcxx-commits
mailing list