Closed scrummer closed 4 years ago
Thank you for the contribution, but i think i will have to reject it.
The reason is that official images are supposed to show best practices, and i haven't found much use of /docker-entrypoint.d/
using a quick search.
While the idea is interesting, i think we should be rather conservative what is included in this image.
I am sure you are aware you could achieve the same effect by inheriting from teamspeak using "FROM teamspeak", wrapping the entrypoint script, and then using the autobuild feature from docker hub.
Yea, indeed. It's not quite "the standard". But what I can say: I've used this concept a few times and it's really helpful and works quite good.
So; Your decision to accept/reject it but, from my point of view, it would be great to have it :)
BR
Goal
It would be cool to mount custom entrypoint scripts into the container which are executed when the container is started.
Example
./custom-entrypoint.sh
./docker-compose.yml
The current entrypoint-script then just runs every Shell-Script file inside
/docker-entrypoint.d/
.Why?
We have the case that we need to modify stuff inside the container before TeamSpeak is started. This solution would be the easiest to prevent conflicts on updates.