/bin/bash: /docker-spark-entrypoint.sh: Permission denied

I’m getting a permission denied error on my entrypoint script in Openshift. My docker version is Docker version 19.03.1, build 74b1e89

Prior to upgrading docker, I was able to get to my entrypoint file.

I’ve made sure to include executable permissions:

RUN chmod +x /docker-spark-entrypoint.sh

I’m building the newest spark images for Kubernetes using their script and receive

$SPARK_HOME/bin/docker-image-tool.sh -r spark-image -t 2.4.4 build

I expect my container to successfully execute the entrypoint once a pod gets started on Openshfit as it was previously. Thank you all in advance.

Source: StackOverflow