po
po copied to clipboard
[po-docker] Minor "caveats" and missing dependencies
I was just running through a fresh build server creation on an official Ubuntu Server Docker image and noticed a couple minor details with the installer process. It's greatly improved over the last time I tried!
- I don't use
root
for interactive shells. Using a user on Docker is not directly supported due to missing requisitesudo
's on filescurl
'd into directories like/usr/local/share
which are canonically owned byroot:root
. I installed by prependingsudo
to the universal installer command; this has the consequence of making~/.po-util
owned byroot:root
instead ofwhoami
. I've worked around this by runningchown -R <whoami>:<whoami> ~/.po-util
-
/usr/local/share/po-docker: line 223: npm: command not found
This is resolved bysudo apt-get -y install npm
and re-running the universal installer. - [...] Run "man po" for help.
~ man po
zsh: command not found: man
:-) Ubuntu Server is really bare, even after
unminimize
ing.
Aside from these small issues, an empty project successfully builds with po
on Ubuntu Server, and does not require sudo after initial installation. 👍🎉
If you're still in the Particle space I'd recommend upgrading to neopo, a replacement for po-util written in Python. It's much more elegant than po-util ever was.
Here is the repository: https://github.com/nrobinson2000/neopo