I\'m trying to extend a docker container for SOLR. I just want to install vim into it. But when I run the docker build it complains that I\'m not root.
vim
This
Switch to the root user, then switch back to the original solr user:
root
solr
USER root install/updates USER solr