You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/README-from-matlab-docker.md
+5-6
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The workflow in this folder builds and tests the Dockerfile found in `alternates
8
8
9
9
The workflow is scheduled to run every Monday at 00:00.
10
10
11
-
Additionally, the workflow is triggered each time you push a change in the [`Dockerfile`](../../alternates/building-on-matlab-docker-image/Dockerfile) or in the [`tests` directory](../../tests/alternates/building-on-matlab-docker-image) to the repository.
11
+
Additionally, the workflow is triggered each time you push a change in the [`Dockerfile`](../../alternates/building-on-matlab-docker-image/Dockerfile) or in the [`tests` directory](../../tests) to the repository.
12
12
13
13
You can also trigger the workflow from the "Actions" tab.
14
14
@@ -17,13 +17,12 @@ You can also trigger the workflow from the "Actions" tab.
17
17
This workflow consists of the following steps:
18
18
19
19
1. Check-out the repository into a GitHub Actions runner.
20
-
2. Install Python and the PyPi packages listed in [`requirements.txt`](../../tests/requirements.txt).
21
-
3. Run the [test file](../../tests/alternates/building-on-matlab-docker-image/test_build.py) to check the messages displayed during the build phase.
22
-
4. Build the image from the Dockerfile.
23
-
5. Run the other test files stored in [tests/alternates/matlab-installer](../../tests/alternates/matlab-installer).
20
+
2. Build the image from the Dockerfile.
21
+
3. Install Python and the PyPi packages listed in [`requirements.txt`](../../tests/requirements.txt).
22
+
4. Run the test files stored in [tests/alternates/building-on-matlab-docker-image](../../tests/alternates/building-on-matlab-docker-image).
24
23
25
24
---
26
25
27
-
Copyright 2023 The MathWorks, Inc. All rights reserved.
26
+
Copyright 2023-2024 The MathWorks, Inc. All rights reserved.
# Build and Test the alternates/matlab-container-offline-install/Dockerfile
2
+
3
+
> This folder is intended only for the administrators of the matlab-dockerfile repository.
4
+
5
+
The workflow in this folder builds and tests the Dockerfiles found in `alternates/matlab-container-offline-install`.
6
+
7
+
## Triggers and Scheduled Jobs
8
+
9
+
The workflow is scheduled to run every Monday at 00:00.
10
+
11
+
Additionally, the workflow is triggered each time you push a change in the [`archive.Dockerfile`](../../alternates/matlab-container-offline-install/archive.Dockerfile), the [`Dockerfile`](../../alternates/matlab-container-offline-install/Dockerfile) or in the [`tests` directory](../../tests/) to the repository.
12
+
13
+
You can also trigger the workflow from the "Actions" tab.
14
+
15
+
## Workflow Description
16
+
17
+
This workflow consists of the following steps:
18
+
19
+
1. Check-out the repository into a GitHub Actions runner.
20
+
2. Build the archive image.
21
+
3. Build the product image, in an offline environment.
22
+
4. Install Python and the PyPi packages listed in [`requirements.txt`](../../tests/requirements.txt).
23
+
5. Run the test files stored in [tests/alternates/matlab-container-offline-install](../../tests/alternates/matlab-container-offline-install).
24
+
25
+
---
26
+
27
+
Copyright 2024 The MathWorks, Inc. All rights reserved.
Copy file name to clipboardExpand all lines: .github/workflows/README-matlab-installer.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The workflow in this folder builds and tests the Dockerfile found in `alternates
8
8
9
9
The workflow is scheduled to run every Monday at 00:00.
10
10
11
-
Additionally, the workflow is triggered each time you push a change in the [`Dockerfile`](../../alternates/matlab-installer/Dockerfile) or in the [`tests` directory](../../tests/alternates/matlab-installer) to the repository.
11
+
Additionally, the workflow is triggered each time you push a change in the [`Dockerfile`](../../alternates/matlab-installer/Dockerfile) or in the [`tests` directory](../../tests) to the repository.
12
12
13
13
You can also trigger the workflow from the "Actions" tab.
14
14
@@ -25,6 +25,6 @@ This workflow consists of the following steps:
25
25
26
26
---
27
27
28
-
Copyright 2023 The MathWorks, Inc. All rights reserved.
28
+
Copyright 2023-2024 The MathWorks, Inc. All rights reserved.
Copy file name to clipboardExpand all lines: README.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ This repository shows you how to build and customize a Docker® container for
4
4
5
5
You can use this container image as a scalable and reproducible method to deploy and test your MATLAB code.
6
6
7
-
You can also download prebuilt images based on this Dockerfile from [here](https://github.com/mathworks-ref-arch/matlab-dockerfile/pkgs/container/matlab-dockerfile%2Fmatlab).
7
+
You can also download prebuilt images based on this Dockerfile from [here](https://github.com/mathworks-ref-arch/matlab-dockerfile/pkgs/container/matlab-dockerfile%2Fmatlab). For alternative resources, see [More MATLAB Docker Resources](#more-matlab-docker-resources).
8
8
9
9
### Requirements
10
10
*[A Running Network License Manager for MATLAB](https://www.mathworks.com/help/install/administer-network-licenses.html)
11
-
* For more information, see [Using the Network License Manager](#use-the-network-license-manager)
11
+
* For more information, see [Using the Network License Manager](#use-the-network-license-manager)
12
12
* Docker
13
13
14
14
## Build Instructions
@@ -60,7 +60,7 @@ The [Dockerfile](https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/ma
60
60
|[MATLAB_RELEASE](#build-an-image-for-a-different-release-of-matlab)| r2024a | The MATLAB release you want to install, in lower-case. For example: `r2019b`|
61
61
|[MATLAB_PRODUCT_LIST](#build-an-image-with-a-specific-set-of-products)| MATLAB | Products to install as a space-separated list. For more information, see [MPM.md](https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md). For example: `MATLAB Simulink Deep_Learning_Toolbox Fixed-Point_Designer`|
62
62
|[MATLAB_INSTALL_LOCATION](#build-an-image-with-matlab-installed-to-a-specific-location)| /opt/matlab/r2024a | The path to install MATLAB. |
63
-
|[LICENSE_SERVER](#build-an-image-with-license-server-information)|*unset*| The port and hostname of the machine that is running the Network License Manager, using the `port@hostname` syntax. For example: `27000@MyServerName`|
63
+
|[LICENSE_SERVER](#build-an-image-configured-to-use-a-license-server)|*unset*| The port and hostname of the machine that is running the Network License Manager, using the `port@hostname` syntax. For example: `27000@MyServerName`|
64
64
65
65
Use these arguments with the the `docker build` command to customize your image.
66
66
Alternatively, you can change the default values for these arguments directly in the [Dockerfile](https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/Dockerfile).
@@ -83,7 +83,7 @@ For example, to build an image with MATLAB installed at /opt/matlab, use this co
#### Build an Image with License Server Information
86
+
#### Build an Image Configured to Use a License Server
87
87
88
88
Including the license server information with the `docker build` command means you do not have to pass it when running the container.
89
89
```bash
@@ -182,6 +182,7 @@ see the examples in the [**alternates folder**](alternates) of this repository:
182
182
* [matlab-installer](alternates/matlab-installer) is an example of a Dockerfile that uses the matlab installer rather than mpm to install MATLAB in the container, allowing the installation of some toolboxes that are not currently supported by mpm.
183
183
* [building-on-matlab-docker-image](alternates/building-on-matlab-docker-image) is an example of a Dockerfile that builds on top of the [MATLAB Container Image on Docker Hub](https://hub.docker.com/r/mathworks/matlab), to install extra toolboxes.
184
184
* [non-interactive](alternates/non-interactive) is an example of a Dockerfile that licenses MATLAB using MATLAB batch licensing tokens, facilitating the execution of MATLAB in non-interactive environments.
185
+
* [matlab-container-offline-install](alternates/matlab-container-offline-install/) shows you how to build and customize a Docker container for MATLAB and its toolboxes in an offline environment.
185
186
186
187
* Enable additional capabilities using the [MATLAB Dependencies repository](https://github.com/mathworks-ref-arch/container-images/tree/master/matlab-deps).
187
188
For some workflows and toolboxes, you must specify dependencies. You must do this if you want to do any of the following tasks:
0 commit comments