Without changing r2d behavior for the toolboxes.txt implementation to work, the last entry in get_build_scripts needs to run as root. This PR does that.
To Test
Build this image or use craigwilis/repo2docker_wholetale:buildscript (already running on .test)
When
get_preassemble_scripts
is called in r2d, it assumes that the last user was root (even if it wasn't). https://github.com/whole-tale/repo2docker/blob/master/repo2docker/buildpacks/base.py#L497-L498Without changing r2d behavior for the
toolboxes.txt
implementation to work, the last entry inget_build_scripts
needs to run as root. This PR does that.To Test
craigwilis/repo2docker_wholetale:buildscript
(already running on .test)