vitalets/docker-tizen-webos-sdk

I'm unable to install any Tizen packages

geethu-rajasekharan opened this issue · 7 comments

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?

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?

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?

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

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

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.

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.

Updated readme, thank you!