docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.16k stars 1.13k forks source link

"docker-entrypoint.sh": executable file not found in $PATH: unknown. #1111

Closed Udayendu closed 1 year ago

Udayendu commented 1 year ago

Issue:

How to fix

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.

yosifkit commented 1 year ago

https://github.com/docker-library/postgres/pull/912#issuecomment-982962087

Udayendu commented 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.

tianon commented 1 year ago

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.