You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2024/08/16 22:19:00 UTC

[jira] [Created] (SPARK-49271) Improve `gradlew` to support both `curl` and `wget`

Dongjoon Hyun created SPARK-49271:
-------------------------------------

             Summary: Improve `gradlew` to support both `curl` and `wget`
                 Key: SPARK-49271
                 URL: https://issues.apache.org/jira/browse/SPARK-49271
             Project: Spark
          Issue Type: Sub-task
          Components: Build
    Affects Versions: kubernetes-operator-0.1.0
            Reporter: Dongjoon Hyun


`curl` doesn't exist in some docker images like the following.
{code}
$ docker run -it --rm -v $PWD:/spark alpine/java:21-jdk -- sh
/ # cd /spark/
/spark # ./gradlew
./gradlew: line 90: curl: not found
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
/spark #
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org