Add uid and gid as Docker environment variables
Reference: https://github.com/OperationCode/resources_api/pull/388#issuecomment-706335715
Hi @aaron-suarez, I added the dotenv orb an it seems working. Do you have any feedback?
Maybe using a variable for the group id is an overkill, what do you think?
Why is it 1000 sometimes and 5000 other times? Its not a problem I just don't understand what difference it makes
I wasn't sure if all was correct so I chose to set the environment default values to a different number if it had raised an error I would have confirmed that the variables weren't propagating correctly.
I can just set them all to 5000 if you want. Also do you want me to keep also the gid?
It's fine how it is if you just want to leave it. If you feel like removing the gid, you can as long as it still works
I'm ok with all the changes, do you prefer that Dockerfile default variables are 5000?
It's fine how it is. I'm mobile right now but when I get the chance to run it and make sure everything works, I'll approve and merge if nothing is broken. Thanks for this!
Hi @aaron-suarez, did you manage to try the changes?