Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kvc0 opened this issue Aug 29, 2018 · 1 comment
Open

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

kvc0 opened this issue Aug 29, 2018 · 1 comment

Comments

@kvc0
Copy link

kvc0 commented Aug 29, 2018

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. 👍🎉

@nrobinson2000
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants