AOSP 8.1 build trouble shooting

Error: Cause: Build with a docker system1)I was working in ubuntu docker container fix: Define the USER environment variable (not set by default), e.g. export USER=$(whoami)2)https://github.com/openthos/openthos/wiki/Known-Issues References   [ + ] 1. ↑ I was working in ubuntu docker container 2. ↑ https://github.com/openthos/openthos/wiki/Known-Issues

Cloning another project in .gitlab_ci.yml

Generate a ssh key pair. Add the private key to the project’s secret variable with a key, “SSH_PRIVATE_KEY.” Write the yml file as below. 1)https://docs.gitlab.com/ce/ci/ssh_keys/README.html#ssh-keys-when-using-the-docker-executor2)https://gitlab.com/gitlab-org/gitlab-ce/issues/4194 References   [ + ] 1. ↑ https://docs.gitlab.com/ce/ci/ssh_keys/README.html#ssh-keys-when-using-the-docker-executor 2. ↑ https://gitlab.com/gitlab-org/gitlab-ce/issues/4194