This is an automated email from the ASF dual-hosted git repository.

ostinru pushed a commit to branch gradle-8-14-4
in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git

commit e4600a263ab5a06cf86ae9ab0f205c5f1d0bbdf2
Author: Nikolay Antonov <[email protected]>
AuthorDate: Thu Apr 23 09:07:39 2026 +0500

    run 'gradle init' in empty dir
---
 automation/src/main/resources/testcontainers/pxf-cbdb/Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/automation/src/main/resources/testcontainers/pxf-cbdb/Dockerfile 
b/automation/src/main/resources/testcontainers/pxf-cbdb/Dockerfile
index d31121c1..ed3c54ce 100644
--- a/automation/src/main/resources/testcontainers/pxf-cbdb/Dockerfile
+++ b/automation/src/main/resources/testcontainers/pxf-cbdb/Dockerfile
@@ -43,8 +43,9 @@ RUN curl -fsSL 
"https://services.gradle.org/distributions/gradle-${GRADLE_VERSIO
     sudo unzip -q /tmp/gradle.zip -d /opt && \
     sudo ln -s "/opt/gradle-${GRADLE_VERSION}/bin/gradle" 
/usr/local/bin/gradle && \
     rm /tmp/gradle.zip && \
-    cd /tmp && gradle init && gradle wrapper --gradle-version 
${GRADLE_VERSION} && ./gradlew javaToolchains &&\
-    rm -rf /tmp/gradle /tmp/gradlew /tmp/gradlew.bat /tmp/.gradle
+    mkdir -p /tmp/gradle-wrapper-warm && cd /tmp/gradle-wrapper-warm && \
+    gradle init && gradle wrapper --gradle-version ${GRADLE_VERSION} && 
./gradlew javaToolchains && \
+    cd / && rm -rf /tmp/gradle-wrapper-warm
 ENV GRADLE_HOME="/opt/gradle-${GRADLE_VERSION}"
 
 # Go toolchain for building pxf_regress inside the container


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to