-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Similar to #122, the MATLAB_RELEASE argument to the Dockerfile does not allow referencing any of the non-standard builds available at https://hub.docker.com/r/mathworks/matlab-deps. For instance, R2025a-ubuntu22.04
.
The argument is used on lines 21, 28 and 61:
Line 21 in cc54447
ARG MATLAB_INSTALL_LOCATION="/opt/matlab/${MATLAB_RELEASE}" |
Line 28 in cc54447
FROM mathworks/matlab-deps:${MATLAB_RELEASE} |
Line 61 in cc54447
--release=${MATLAB_RELEASE} \ |
The first is install location; probably irrelevant, but who wants "/opt/matlab/R2025a-ubuntu22.04" as an install path?
The second is the
FROM
call - accepts the platform-inclusive tagThe third is passed into the
mpm install
call: clearly going to error
I have to use Ubuntu 22.04 because 24.04 fails wget every time. I have not determined if this problem is MATLAB, Docker, Ubuntu, or my environment. But I do not care - the simple reality is that 24.04 does not work for me, so I use 22.04. But this means your Dockerfile is not grab-and-go. I have to fork/clone/copy-paste it, then learn Docker (🤮) to change a few things. Then a year later when matlab-batch does not accept my new batch token format, I have to manually merge your Dockerfile changes with my modified version
All that said, this stuff is great! Compared to figuring everything out myself, this saves me an incalculable amount of time and hair-pulling. Keep up the good work