Closed jgautsch closed 1 year ago
Hi @jgautsch,
If the base config directory needs to be explicitly set, I'd recommend the equivalent of what you're needing by setting the HOME
env var inline:
HOME=/tmp doppler run -- start server
Would this be a sufficient workaround?
Is your feature request related to a problem? Please describe.
I'm trying to run
doppler run
in a docker container withUSER nobody
. However this fails with messageDoppler Error: mkdir /nonexistent/.doppler: no such file or directory
. This is due tobaseConfigDir = utils.HomeDir()
inconfig.go
calling out toos.UserHomeDir()
which fornobody
is/nonexistent
(which is not writable).Describe the solution you'd like
A flag that lets me specify what
baseConfigDir
should be.Describe alternatives you've considered
My options right now are to not use
nobody
, or to manually set$HOME
soos.UserHomeDir()
returns something I've prepared to be writable (this feels hacky).Additional context
N/A