Skip to content

Optimize matlab dockerfile to remove unnecessary image bloating#326

Merged
pradeeban merged 1 commit intoControlCore-Project:devfrom
GREENRAT-K405:fix/optimize-matlab-dockerfile
Feb 14, 2026
Merged

Optimize matlab dockerfile to remove unnecessary image bloating#326
pradeeban merged 1 commit intoControlCore-Project:devfrom
GREENRAT-K405:fix/optimize-matlab-dockerfile

Conversation

@GREENRAT-K405
Copy link

The solution is pretty simple: chain the download, extraction, installation, and deletion steps into a single RUN instruction using the && operator in the matlab dockerfile

this will make sure that temporary .zip file and the installation dir. are completely removed before docker starts to commit the layer. This fixes #325 .

@GREENRAT-K405 GREENRAT-K405 changed the base branch from main to dev February 14, 2026 20:25
@GREENRAT-K405
Copy link
Author

@pradeeban , please have a look. This simple change should reduce the image size by a lot!

@pradeeban pradeeban merged commit 7a60a70 into ControlCore-Project:dev Feb 14, 2026
6 checks passed
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.

Unnecessary image bloat during runtime of matlab dockerfile

2 participants