-
Notifications
You must be signed in to change notification settings - Fork 430
Closed
Labels
RequestRequest for image modification or featureRequest for image modification or feature
Description
It would be nice to be able to extend the configuration file generation when extending from this docker image. It would be nice to be able to add custom logic at the end of the configuration file generation.
Something along the line of (shamelessly stolen from postgresql docker container) this in docker-entrypoint.sh
:
if [ "$1" = 'rabbitmq-server' ] && [ "$shouldWriteConfig" ]; then
# ....current logic....
echo
for f in /docker-entrypoint-initdb.d/*; do
case "$f" in
*.sh)
echo "$0: sourcing $f"
. "$f"
;;
*) echo "$0: ignoring $f" ;;
esac
echo
done
fi
Metadata
Metadata
Assignees
Labels
RequestRequest for image modification or featureRequest for image modification or feature