Re: [spark-core] docker-image-tool.sh question...

2021-03-10 Thread Muthu Jayakumar
Hello Attila, Thank you for verifying this for me. I was looking at Step 1/18 : ARG java_image_tag=11-jre-slim and presumed that the docker image is built using JRE 11. I can confirm that, (1) $ docker image history 3ef86250a35b IMAGE CREATED CREATED BY SIZE CO

Re: [spark-core] docker-image-tool.sh question...

2021-03-10 Thread Attila Zsolt Piros
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-jr

[spark-core] docker-image-tool.sh question...

2021-03-09 Thread Muthu Jayakumar
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 buil