Dockerfile for Building Android 12 / Yocto / Debian

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Dockerfile for Building Android 12 / Yocto / Debian

4,393件の閲覧回数
max-WL
Contributor I

Hi,

I've read elsewhere on the forums here that NXP intends to release AOSP for Android 12 sometime in the near future.

Would it be possible for NXP to distribute a baseline Dockerfile that contains all of the needed packages to build Android 12 on Ubuntu? This would also be useful for Yocto / Debian builds.

We've created this locally at the company where I work, but it would be interesting to have something upstream to reference besides the User Guide PDFs.

Regards,
Max

0 件の賞賛
返信
9 返答(返信)

4,368件の閲覧回数
max-WL
Contributor I

That sounds great, any examples would be helpful. If it were part of the Code Aurora repository, even better.

0 件の賞賛
返信

4,362件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

It is technical issue or a license issue in your mind?

0 件の賞賛
返信

4,355件の閲覧回数
max-WL
Contributor I

I don't see a technical or license issue here. It's more of a usefulness issue. It would be helpful to have a Dockerfile that matches the environment NXP developers use internally when building AOSP.

0 件の賞賛
返信

4,352件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

It could be license issue if release the source code not belongs to NXP, those are part of android and Yocto. 

That is why Android always release document and since the BSP release with Yocto. The yocto release is also just document.

there is  no technical issue. 

0 件の賞賛
返信

4,348件の閲覧回数
max-WL
Contributor I

I'm not sure I understand why it would be an issue for NXP to create and release a Dockerfile that defines the build environment used internally to build Android, Yocto, or Debian?

It'd be less work to maintain than the PDF.

0 件の賞賛
返信

4,336件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

It is easy to achieve technically.

But very very complicated in license.

0 件の賞賛
返信

4,342件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

If put the source code inside the docker, who will agree the license? 

and how about the git email address when using git to download the source code?

That is just very tiny part of the license issue. 

and tiny example of the license issue. 

 

0 件の賞賛
返信

4,335件の閲覧回数
max-WL
Contributor I

Why would you put source code or a personalized .gitconfig inside the Docker image? That doesn't make sense as it would make more sense to bind mount them or set up a separate Docker volume for them.

0 件の賞賛
返信

4,386件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello max-WL,

We are considering the have a docker file for android 12, also we are considering to have it with yocto as well but it will be just the demo image. Thanks for your feedback

 

Regards