|
8 | 8 | # For complete listing, see https://github.com/mathworks-ref-arch/container-images/tree/main/matlab-deps |
9 | 9 |
|
10 | 10 | ## Sample Build Command: |
11 | | -# docker build --build-arg MATLAB_RELEASE=r2024a \ |
| 11 | +# docker build --build-arg MATLAB_RELEASE=R2024b \ |
12 | 12 | # --build-arg PYTHON_VERSION=3.11 \ |
13 | | -# --build-arg MATLAB_IMAGE_NAME=mathworks/matlab:r2024a \ |
| 13 | +# --build-arg MATLAB_IMAGE_NAME=mathworks/matlab:R2024b \ |
14 | 14 | # --build-arg LICENSE_SERVER=12345@hostname.com \ |
15 | 15 | # -t my_matlab_image_name -f Dockerfile.byoi . |
16 | 16 |
|
|
19 | 19 | # MATLAB RELEASE | Supported Python Versions | OS supported by matlab-deps|Supported by this Dockerfile | |
20 | 20 | # ---------------| (MATLAB Engine for Python) |----------------------------|---------------------------------| |
21 | 21 | # ---------------|----------------------------|----------------------------|---------------------------------| |
| 22 | +# R2024b | 3.9, 3.10, 3.11, 3.12 | Ubuntu 22.04 & 20.04 | Yes | |
22 | 23 | # R2024a | 3.9, 3.10, 3.11 | Ubuntu 22.04 & 20.04 | Yes | |
23 | 24 | # R2023b | 3.9, 3.10, 3.11 | Ubuntu 22.04 & 20.04 | Yes | |
24 | 25 | # R2023a | 3.8, 3.9, 3.10 | Ubuntu 22.04 & 20.04 | Yes | |
|
28 | 29 | # R2021a | 3.8 | Ubuntu 20.04 | No, use ubuntu20.04/Dockerfile.byoi | |
29 | 30 | # R2020b | 3.8 | Ubuntu 20.04 | No, use ubuntu20.04/Dockerfile.byoi | |
30 | 31 |
|
31 | | -# Specify release of MATLAB to build. (use lowercase, default is r2024a) |
32 | | -ARG MATLAB_RELEASE=r2024a |
| 32 | +# Specify release of MATLAB to build. (Default is R2024b) |
| 33 | +ARG MATLAB_RELEASE=R2024b |
33 | 34 |
|
34 | 35 | # Specify version of python thats used by jupyter/base-notebbok |
35 | | -# Using python 3.10 as default as it is the latest version compatible with MATLAB Engine for Python in R2024a, R2023b, R2023a & R2022b |
| 36 | +# Using python 3.10 as default as it is the latest version compatible with MATLAB Engine for Python in R2024b to R2022b. |
36 | 37 | ARG PYTHON_VERSION=3.10 |
37 | 38 |
|
38 | 39 | # Specify name of Docker Image with MATLAB already installed. |
@@ -110,7 +111,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update \ |
110 | 111 | ca-certificates \ |
111 | 112 | xvfb \ |
112 | 113 | git \ |
113 | | - && wget ${MATLAB_DEPS_REQUIREMENTS_FILE} -O ${MATLAB_DEPS_REQUIREMENTS_FILE_NAME} \ |
| 114 | + && wget $(echo ${MATLAB_DEPS_REQUIREMENTS_FILE} | tr "[:upper:]" "[:lower:]") -O ${MATLAB_DEPS_REQUIREMENTS_FILE_NAME} \ |
114 | 115 | && xargs -a ${MATLAB_DEPS_REQUIREMENTS_FILE_NAME} -r apt-get install --no-install-recommends -y \ |
115 | 116 | && apt-get clean \ |
116 | 117 | && apt-get -y autoremove \ |
|
0 commit comments