Closed bgruening closed 9 years ago
@jmchilton do we agree to start the container as root and change with sudo
to an unprivileged user after chmod
everything to the galaxy-host-user?
Yes I am :+1: on doing that - I think that would be better.
@jmchilton I played a little bit with this idea, but in Galaxy we are changing the user inside the container with "docker run -u %s" % (os.geteuid())
. This means we are not root inside the container and can not add a new user. Is removing -u
from the IE an option?
This is fine by me - we can make it an option on the IE implementation. Feel free to open a PR with that change or create a ticket somewhere and assign it to me.
fix for: https://github.com/bgruening/docker-ipython-notebook/issues/28
This PR will change the default user to the same UID and GID of the parent Galaxy Docker container. This enables installing with
pip
andinstall.package()
. Moreover, I added curl as dependency so we do not need to use a python library for this (we still can if we want).