docker-phpfarm
                                
                                 docker-phpfarm copied to clipboard
                                
                                    docker-phpfarm copied to clipboard
                            
                            
                            
                        Commands executed as root
I setup my projects with composer and all the files are created as root. Doesn't matter if I use install, require or create project. Doesn't matter if I execute command using loaded docker image, or with an independent command.
Is it possible to override that with current user (just like apache's uid)?
There's the --user command for docker itself, but it only allows you to select the user inside the container.
The user only gets set up when the default entry is used. I guess we would need to adjust our run.sh to be able to accept parameters that would get passed to a user shell after setting up the user...
So the answer is that it's not easily possible right now, but would be a nice addition.