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

Call rosdep install from cloudsim dockerfiles and remove superfluous packages #749

Closed
wants to merge 7 commits into from

Conversation

peci1
Copy link
Collaborator

@peci1 peci1 commented Jan 12, 2021

Extension of #748. Due to the use of rosdep install, some packages became superfluous.

I know this might become a breaking change to some users who assume some packages have already been installed. It shouldn't be that difficult for them to add the packages to their buildscripts (probably using rosdep again).

I rather split this PR apart from #748 so that if you choose to not go so aggresively with the optimizations, you can accept only #748 and reject this PR.

This PR makes sure things like RViz aren't installed in cloudsim images, as I don't see a real use for them there. It also does just a shallow clone of the subt repo and removes build artifacts and debug symbols from the built workspace.

These changes together save about 900 MB in the sim image and 800 MB in the bridge image (according to docker system df -v).

I did basic tests of the new images and everything seems to work as it should.

@osrf-jenkins
Copy link

Build finished. No test results found.

@nkoenig
Copy link
Contributor

nkoenig commented Jan 20, 2021

@peci1 , can you update your branch with the latest changes on master?

@peci1
Copy link
Collaborator Author

peci1 commented Jan 21, 2021

Updated.

@osrf-jenkins
Copy link

Build finished. 15 tests run, 0 skipped, 0 failed.

@peci1
Copy link
Collaborator Author

peci1 commented Mar 3, 2021

Another update with master (no conflict). I noticed the rosdep install commands were duplicated by the merge, so I only left the one command that was already there.

@peci1
Copy link
Collaborator Author

peci1 commented Mar 3, 2021

I successfully built both of the images locally using this PR.

@peci1 peci1 closed this Nov 1, 2021
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.

3 participants