Re:Dockerfile Security Best Practices
by freedomben on Wednesday October 14, 2020 @11:29AM
(#24777666)
Yes, that is by far my preference. Much more 12 factor app-ish and framework independent. A lot of Java apps will want files though, so sometimes it isn't possible.
Do you recommend mounting secrets as environment variables to the kubernetes pods instead of files?