gettyimages / docker-spark

Docker build for Apache Spark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image with tag 2.4.0 actually is 2.3.1

fubhy opened this issue · comments

The published Docker image with tag 2.4.0-hadoop-3.0 actually contains spark version 2.3.1. However, the latest tag has 2.4.0.

FROM gettyimages/spark:2.4.0-hadoop-3.0
ENV SPARK_VERSION 2.4.0
ENV SPARK_HOME /usr/spark-${SPARK_VERSION}
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/jdk1.8.0_192/bin:/usr/hadoop-3.0.0/bin:/usr/spark-2.4.0/bin:
ADD spark-2.4.0 /usr/spark-2.4.0
RUN chown -R root:root /usr/spark-2.4.0
WORKDIR /usr/spark-2.4.0

docker build -t spark:2.4.0-hadoop-3.0 ./


build by self for temporary use (1.23GB)

docker pull cuidapeng:spark:2.4.0-hadoop-3.0

https://cloud.docker.com/u/cuidapeng/repository/docker/cuidapeng/spark

I am not a big fan of using latest but published image with latest tag has actually 2.4.0

sorry about this. I pushed the tag with the upgrade so it built with the old code.

Thanks for response.

Unfortunately, it seems the build broke. In case it is easier. Is it possible to just retag the current latest as 2.4.0-hadoop-3.0?

Yes I removed then added back the tag so it now points to latest, I am working on getting permissions to the docker hub repository so I can delete the old version and repush.

This is now fixed, it was failing due to a removed java version