Closed Udayendu closed 1 year ago
@yosifkit if the fix is already there, are you going to backport it ? Usually chmod 777
is not needed. Chmod 755
is also working.
Our stance is generally that if you want to build our images from source, you either need to use git clone
to fetch them (which thus gets the appropriate permissions bits on docker-entrypoint.sh
) or replicate what git clone
would do yourself.
Issue:
Currently the Dockerfile is not having the executable permission before marking the ENTRYPOINT with
docker-entrypoint.sh
script. As a result, the docker build is failing with the following error message:How to fix
docker-entrypoint.sh
manually before running the Dockerfile to build the container image.Having the fix in the Dockerfile will be a better option so that if some one will do the copy paste of the docker file, still its going to work.