You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yauheni Shahun (Jira)" <ji...@apache.org> on 2022/11/09 17:12:00 UTC
[jira] [Updated] (SPARK-41075) Can't build Spark docker image with Java 17
[ https://issues.apache.org/jira/browse/SPARK-41075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yauheni Shahun updated SPARK-41075:
-----------------------------------
Description:
I'm trying to build Spark docker image with Java 17 according to usage description from {{{}docker-image-tool.sh{}}}:
{code:java}
./bin/docker-image-tool.sh -r "$REGISTRY -t ${VERSION} -f kubernetes/dockerfiles/spark/Dockerfile.java17 build
{code}
But I get the following error:
{code:java}
./bin/docker-image-tool.sh: line 74: cd: kubernetes/dockerfiles/spark: No such file or directory
{code}
As far as I understand the script verifies the argument for presence before it creates a build context and copies content from {{{}resource-managers/kubernetes/docker/src/main/dockerfiles{}}}.
was:
I'm trying to build Spark docker image with Java 17 according to usage description from \{{docker-image-tool.sh}}:
{code}
./bin/docker-image-tool.sh -r "$REGISTRY/ -t ${VERSION} -f kubernetes/dockerfiles/spark/Dockerfile.java17 build
{code}
But I get the following error:
{code}
./bin/docker-image-tool.sh: line 74: cd: kubernetes/dockerfiles/spark: No such file or directory
{code}
As far as I understand the script verifies the argument for presence before it creates a build context and copies content from \{{resource-managers/kubernetes/docker/src/main/dockerfiles}}.
> Can't build Spark docker image with Java 17
> -------------------------------------------
>
> Key: SPARK-41075
> URL: https://issues.apache.org/jira/browse/SPARK-41075
> Project: Spark
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.3.1
> Reporter: Yauheni Shahun
> Priority: Minor
>
> I'm trying to build Spark docker image with Java 17 according to usage description from {{{}docker-image-tool.sh{}}}:
> {code:java}
> ./bin/docker-image-tool.sh -r "$REGISTRY -t ${VERSION} -f kubernetes/dockerfiles/spark/Dockerfile.java17 build
> {code}
> But I get the following error:
> {code:java}
> ./bin/docker-image-tool.sh: line 74: cd: kubernetes/dockerfiles/spark: No such file or directory
> {code}
>
> As far as I understand the script verifies the argument for presence before it creates a build context and copies content from {{{}resource-managers/kubernetes/docker/src/main/dockerfiles{}}}.
--
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