po icon indicating copy to clipboard operation
po copied to clipboard

[po-docker] Minor "caveats" and missing dependencies

Open kvc0 opened this issue 6 years ago • 1 comments

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 requisite sudo's on files curl'd into directories like /usr/local/share which are canonically owned by root:root. I installed by prepending sudo to the universal installer command; this has the consequence of making ~/.po-util owned by root:root instead of whoami. I've worked around this by running chown -R <whoami>:<whoami> ~/.po-util
  • /usr/local/share/po-docker: line 223: npm: command not found This is resolved by sudo 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 unminimizeing.

Aside from these small issues, an empty project successfully builds with po on Ubuntu Server, and does not require sudo after initial installation. 👍🎉

kvc0 avatar Aug 29 '18 00:08 kvc0

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

nrobinson2000 avatar Jun 21 '20 04:06 nrobinson2000