citusdata / docker

:ship: Docker images and configuration for Citus
Apache License 2.0
241 stars 100 forks source link

Missing '/wait-for-manager.sh' script in alpine version #199

Open kgonia opened 3 years ago

kgonia commented 3 years ago

Steps to reproduce:

docker run --rm -it citusdata/citus:9.4.2-alpine ls

DilithiumNitrate commented 1 year ago

Still the case in citusdata/citus:11.1.5-alpine even though the Dockerfile has seen numerous updates. The script itself doesn't work inside Alpine because of the lack of gosu, but as per https://github.com/tianon/gosu/blob/master/INSTALL.md, there is a trivial fix: installing su-exec and using that instead of gosu on Alpine.