Hi Muthu!

I tried and at my side it is working just fine:

$  ./bin/docker-image-tool.sh -r docker.io/sample-spark -b
java_image_tag=8-jre-slim -t 3.1.1 build
Sending build context to Docker daemon  228.3MB
Step 1/18 : ARG java_image_tag=11-jre-slim
Step 2/18 : FROM openjdk:${java_image_tag}
*8-jre-slim*: Pulling from library/openjdk
45b42c59be33: Pull complete
c3f1fbf102b7: Pull complete
262868e4544c: Pull complete
1c0fec43ba3f: Pull complete
Digest:
sha256:412c52d88d77ea078c50ed4cf8d8656d6448b1c92829128e1c6aab6687ce0998
*Status: Downloaded newer image for openjdk:8-jre-slim*
 ---> 8f867fdbd02f

What you see at your side?

Best regards,
Attila

On Wed, Mar 10, 2021 at 5:44 AM Muthu Jayakumar <[email protected]> wrote:

> Hello there,
>
> While using docker-image-tool (for Spark 3.1.1) it seems to not accept
> `java_image_tag` property. The docker image default to JRE 11. Here is what
> I am running from the command line.
>
> $ spark/bin/docker-image-tool.sh -r docker.io/sample-spark -b
> java_image_tag=8-jre-slim -t 3.1.1 build
>
> Please advice,
> Muthu
>

Reply via email to