dockerize icon indicating copy to clipboard operation
dockerize copied to clipboard

Template function to read contents of file and (optionally) stripping last newline?

Open pepoluan opened this issue 3 years ago • 0 comments

Is there a template function that can read the contents of a file and (optionally) stripping last newline of the file?

The reason being we want to use the Docker Swarm Secrets function, which will pass the 'secret values' as individual files under /run/secrets

pepoluan avatar Feb 22 '22 13:02 pepoluan