Reported by user:
I found out what makes the mender-cli do not work in AWS Codepipeline ...
the mender-cli tries to create a folder (.mender) in the of the current users Homedir to store the JWT - but
in the AWS Codepipeline the user 'root' is in a kind of sandbox and does not have a Home at all, that why it fails.
It's not possible to to do a usermod since there is no /etc/passwd on which the homedir will be written.