User Permissions
This update fixes user permissions when running CLI commands (mostly on Linux).
Note: Rebuild your containers
This update makes a change to how the app
container is built. It's not technically a breaking change, but to get the full update, you'll need to rebuild the containers as documented here.
Update Notes
- In particular, we run
exec
commands with the-u
flag and set the user ID to the currently running user id. - Running commands otherwise will use
gosu
, which does "magic" to run a command that starts up a container as a non-root user, while letting us do things ahead of time as the root user within the container (the officialmysql
container does this as well, if you're interested to see it! Installing Gosu - Using Gosu)