-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf(docker): reduce prebuilt docker image size #2922
perf(docker): reduce prebuilt docker image size #2922
Conversation
@Sharrrrk Thank you so much for this improvement! |
Sure, I'll create a separate PR. |
@kenji-miyake Would it be possible that you could do a test of this script before merging. Thanks. |
@Sharrrrk Yes, I'll trigger GitHub Actions. |
Can we test this PR? What's the status? |
@doganulus What do you mean by the word "test"?
I'm waiting for the review comments to be applied. |
By testing, I mean using the resulting image, for example, with the AWSIM simulator or the scenario simulator. I think a runtime image as in this PR would be an improvement for these use cases. Thank you for the explanation! |
|
@xmfcx Yes, it's possible. But could you explain some reasons/use cases for that, if possible? |
Ok, since @cyn-liu agreed to adapt the training video to take this into account in autowarefoundation/autoware-documentation#270 (comment) We don't need to include build artifacts in the new prebuilt image. I take back my request. |
Hi, @kenji-miyake . |
@liuXinGangChina cc @Sharrrrk As we moved to Humble, there are conflicts. Could you fix them? Also, I didn't notice that there were changes after my last review. I'm sorry for that, but I'd appreciate it if you re-request a review by clicking the button. So, now do you mean that you've addressed my comments and it's ready to merge? |
Hi, @kenji-miyake , the conflicts is about cuda_base_image, as it has been set to ubuntu:22.04 on main branch, but nvidia/cuda dit not has docker image match the cuda:11.6 + ubuntu22.04. Thank you so much if you could give some advice. <<<<<<< 2840-reduce-prebuilt-docker-image-size
|
@Sharrrrk I'm sorry to be late. So, until then, I think using |
Do you mean we should set both base_image and cuda_base_image to ubuntu:22.04 for now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sharrrrk Thank you for updating the PR, and I'm sorry for my late review.
Added additional comments, could you confirm them, please?
aa3a80d
to
91edbca
Compare
aa6c3e3
to
5be9c70
Compare
5be9c70
to
619c851
Compare
619c851
to
7700c90
Compare
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
… ros2_dev_tools Signed-off-by: Shark Liu <shark.liu@autocore.ai>
9ab67f4
to
542fadf
Compare
Signed-off-by: Shark Liu <shark.liu@autocore.ai>
542fadf
to
151eb76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sharrrrk I believe everything is okay. Thank you for your work and patience.
Signed-off-by: Shark Liu shark.liu@autocore.ai
Description
Solve issue #2840
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.