vitalets / docker-tizen-webos-sdk

Docker image with Samsung Tizen CLI and LG webOS CLI
94 stars 28 forks source link

I'm unable to install any Tizen packages #6

Closed geethu-rajasekharan closed 11 months ago

geethu-rajasekharan commented 1 year ago

Hi,

I am unable to install a certificate for packaging my app. When I troubleshot, it turns out that the certificate manager is not installed. So then I tried listing the packagees installed/ the ones available. the package-manager-cli is also not recognizable. Am I missing something?

vitalets commented 11 months ago

Hi @geethu-rajasekharan Sorry for the silence. If it's still relevant, could you try with the latest 3.0 tag that contains Tizen Studio 5.5?

Ricrdsson1 commented 11 months ago

Yes, this really doesn't work. It's because you can't run package-manager-cli.bin as root. @vitalets Why are we acting as root user?

Ricrdsson1 commented 11 months ago

Ok, it seems that running docker with docker run --user developer solves the problem

geethurajasekharan commented 11 months ago

Yeah we did that. We created a new user and gave it the requisite permissions using the root user.

vitalets commented 11 months ago

Guys, could you provide more details and I will add it to readme? developer user should be created on the host machine? As now in readme we explicitly ask to run as a root.

Ricrdsson1 commented 11 months ago

Just don't use the command docker run -it --rm -v tvdata:/home/developer vitalets/tizen-webos-sdk bash But fix it to docker run --user developer -it --rm -v tvdata:/home/developer vitalets/tizen-webos-sdk bash

This will switch the root user to the developer user. But it may cause other problems elsewhere with permissions.

vitalets commented 11 months ago

Updated readme, thank you!