gliderlabs / logspout

Log routing for Docker container logs
MIT License
4.66k stars 680 forks source link

Provide a no-onbuild version #503

Open josegonzalez opened 3 years ago

josegonzalez commented 3 years ago

ONBUILD kinda sucks if it requires adding files that don't exist. Would be great if we could avoid onbuild completely for a non-custom logspout version :)

josegonzalez commented 3 years ago

For reference, I'm adding a git:from-image command to Dokku, but this fails with gliderlabs/logspout because there is no build.sh to add from the current build context as the only thing available is the Dockerfile with the contents of FROM gliderlabs/logspout:v3.2.13.

airdrummingfool commented 3 years ago

I am looking for this as well, because I want to provide a custom entrypoint script. As a workaround, empty build.sh and modules.go files can be used.

modem7 commented 1 year ago

A multistage image with entrypoint scripts would be the best way forward.

Not to mention Alpine 3.12 is woefully out of date.