Open
Description
I would consider this an enhancement request.
There are cases where it is useful to test/troubleshoot code across release updates, but none of the dockerfiles have a means of installing a specific update of any given release.
It can be done fairly simply by adding a MATLAB_UPDATE
argument, then appending it to MATLAB_RELEASE
during the mpm call. That is what I do to accomplish update-specific MATLAB builds at least, although I would prefer TMW implement this behavior.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
michaelmcdonnellmw commentedon Oct 4, 2024
Hi @PVDecker1, thanks for raising this enhancement request, I will pass it on to the dev to to instigate
josmartin commentedon Oct 7, 2024
@PVDecker1 Just want to make sure you are aware of the following syntax for
mpm
where you addUn
to the end of the release argument to specify the release update you would like ...PVDecker1 commentedon Oct 7, 2024
I am aware that mpm can do this directly, but the
matlab-deps
tags andmpm
do not utilize the same nomenclature, as passingr2024aU2
to the dockerfile would not make it past theFROM
statement. The same goes for OS specific installs, as I cannot passr2024a-ubi
since that succeeds at theFROM
statement, but is ignored during thempm
call, unless the latter is by design.rebolloluis commentedon May 2, 2025
+1 to this. It took me a couple of hours of online research in forums, etc, to finally find a way to build a custom image for a specific MATLAB update for 2024a. Thank you @PVDecker1 for raising the issue and sharing how to workaround this.
I would love to be able to use it in the docker file as suggested in this answer years ago.
Add MATLAB_UPDATE arg to Dockerfile
rebolloluis commentedon May 2, 2025
FYI I opened a PR just to show others with the same issue how to implement this functionality in the Dockerfile.