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

Add MATLAB_UPDATE argument to dockerfile #122

Open
PVDecker1 opened this issue Oct 3, 2024 · 3 comments
Open

Add MATLAB_UPDATE argument to dockerfile #122

PVDecker1 opened this issue Oct 3, 2024 · 3 comments
Assignees
Labels

Comments

@PVDecker1
Copy link

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.

@michaelmcdonnellmw michaelmcdonnellmw added the enhancement New feature or request label Oct 4, 2024
@michaelmcdonnellmw michaelmcdonnellmw self-assigned this Oct 4, 2024
@michaelmcdonnellmw
Copy link
Member

Hi @PVDecker1, thanks for raising this enhancement request, I will pass it on to the dev to to instigate

@josmartin
Copy link
Member

josmartin commented Oct 7, 2024

@PVDecker1 Just want to make sure you are aware of the following syntax for mpm where you add Un to the end of the release argument to specify the release update you would like ...

$ ./mpm install --destination=`pwd` --release=R2024aU4 MATLAB
Installing with the following parameters:
--destination=/tmp/test-install
--doc=false
--release=R2024aU4
--products=MATLAB
---------------------------------------------
The following MathWorks Products are licensed under the The MathWorks, Inc. Software License
Agreement, available in the installation of the MathWorks Product or in the virtual machine image.
MATLAB

Products will be installed to: /tmp/test-install
Starting install
Finished install

@PVDecker1
Copy link
Author

I am aware that mpm can do this directly, but the matlab-deps tags and mpm do not utilize the same nomenclature, as passing r2024aU2 to the dockerfile would not make it past the FROM statement. The same goes for OS specific installs, as I cannot pass r2024a-ubi since that succeeds at the FROM statement, but is ignored during the mpm call, unless the latter is by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants