fix issue causing incorrect config in Docker (#10595)
fix issue causing incorrect config in Docker (#10595)

Previously, when the Docker entrypoint script generated the config
files, it would append the configuration without including a newline.
This could result in incorrect configuration. This has been fixed by
always appending a newline before any configuration.

Co-authored-by: Bryson Chen <cb5918916b060ebc4f41e852b1c6ef0d80abacb4@gmail.com>

Co-authored-by: Bryson Chen <cb5918916b060ebc4f41e852b1c6ef0d80abacb4@gmail.com>
druid-io/druid,mghosh4/druid,mghosh4/druid,monetate/druid,jon-wei/druid,nishantmonu51/druid,gianm/druid,monetate/druid,monetate/druid,leventov/druid,jon-wei/druid,leventov/druid,leventov/druid,jon-wei/druid,nishantmonu51/druid,jon-wei/druid,leventov/druid,gianm/druid,druid-io/druid,mghosh4/druid,jon-wei/druid,jon-wei/druid,nishantmonu51/druid,gianm/druid,jon-wei/druid,gianm/druid,mghosh4/druid,monetate/druid,mghosh4/druid,nishantmonu51/druid,nishantmonu51/druid,monetate/druid,gianm/druid,gianm/druid,druid-io/druid,gianm/druid,druid-io/druid,monetate/druid,mghosh4/druid,nishantmonu51/druid,monetate/druid,mghosh4/druid,leventov/druid,druid-io/druid,nishantmonu51/druid