Skip to content
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

fix(docker): fix the src directory in docker/build.sh #4894

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

youtalk
Copy link
Member

@youtalk youtalk commented Jun 20, 2024

Description

Fixes #4849 (comment) issue by @isouf mentioned.
This PR correctly fixes the location of the src directory.

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Interface changes

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
@mitsudome-r mitsudome-r self-requested a review June 20, 2024 10:06
@mitsudome-r
Copy link
Member

mitsudome-r commented Jun 20, 2024

I think we should also fix the path for deleting the cloned src:

rm -rf "$WORKSPACE_ROOT/docker/src"

That being said, should we remove the src directory? If we are also assuming users building docker from their customized code under src directory, we might want to consider removing remove_tmp_src() itself.

remove_tmp_src() {

Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
@youtalk
Copy link
Member Author

youtalk commented Jun 20, 2024

@mitsudome-r I removed remove_tmp_src. ea526b9
Please review again.

Copy link
Member

@mitsudome-r mitsudome-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mitsudome-r mitsudome-r merged commit ebd4fe7 into autowarefoundation:main Jun 20, 2024
13 checks passed
@youtalk youtalk self-assigned this Jun 21, 2024
@youtalk youtalk deleted the fix-docker-build-sh branch June 21, 2024 04:04
pravinkmr26 pushed a commit to pravinkmr26/autoware that referenced this pull request Jul 15, 2024
…undation#4894)

Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants