Skip to content

Commit bafad81

Browse files
committed
feat: support until R2023a, new generator
- new python script generator - support until current R2023a - each release supported to latest update only (e.g. R2020a supported to latest update 8) - images upgraded from Debian Stretch to Buster - switch from Docker Hub Automated Builds to GitHub Actions - automated push to Docker Hub -> https://hub.docker.com/r/demartis/matlab-runtime
1 parent ff29d79 commit bafad81

File tree

23 files changed

+777
-127
lines changed

23 files changed

+777
-127
lines changed

.github/workflows/ci.yaml

Lines changed: 125 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# ------------------------------------------------------------------------
23
# Copyright (c) 2020-2023 Riccardo De Martis. MIT License.
34
# All Trademarks referred to are the property of their respective owners.
@@ -24,38 +25,157 @@ jobs:
2425
DOCKERHUB_REPO: demartis/matlab-runtime
2526
secrets: inherit
2627

28+
R2019a:
29+
uses: ./.github/workflows/sub_release.yaml
30+
secrets: inherit
31+
with:
32+
DOCKERHUB_REPO: demartis/matlab-runtime
33+
DOCKERHUB_TAG: R2019a
34+
DOCKER_CONTEXT: R2019a
35+
36+
R2019a-meshlab:
37+
needs: [ R2019a ]
38+
uses: ./.github/workflows/sub_release.yaml
39+
secrets: inherit
40+
with:
41+
DOCKERHUB_REPO: demartis/matlab-runtime
42+
DOCKERHUB_TAG: R2019a-meshlab
43+
DOCKER_CONTEXT: R2019a-meshlab
44+
2745
R2019b:
2846
uses: ./.github/workflows/sub_release.yaml
47+
secrets: inherit
2948
with:
3049
DOCKERHUB_REPO: demartis/matlab-runtime
3150
DOCKERHUB_TAG: R2019b
3251
DOCKER_CONTEXT: R2019b
33-
secrets: inherit
3452

3553
R2019b-meshlab:
3654
needs: [ R2019b ]
3755
uses: ./.github/workflows/sub_release.yaml
56+
secrets: inherit
3857
with:
3958
DOCKERHUB_REPO: demartis/matlab-runtime
4059
DOCKERHUB_TAG: R2019b-meshlab
4160
DOCKER_CONTEXT: R2019b-meshlab
42-
secrets: inherit
4361

4462
R2020a:
4563
uses: ./.github/workflows/sub_release.yaml
64+
secrets: inherit
4665
with:
4766
DOCKERHUB_REPO: demartis/matlab-runtime
4867
DOCKERHUB_TAG: R2020a
4968
DOCKER_CONTEXT: R2020a
50-
is_latest: true
51-
secrets: inherit
5269

5370
R2020a-meshlab:
5471
needs: [ R2020a ]
5572
uses: ./.github/workflows/sub_release.yaml
73+
secrets: inherit
5674
with:
5775
DOCKERHUB_REPO: demartis/matlab-runtime
5876
DOCKERHUB_TAG: R2020a-meshlab
5977
DOCKER_CONTEXT: R2020a-meshlab
60-
is_latest_meshlab: true
78+
79+
R2020b:
80+
uses: ./.github/workflows/sub_release.yaml
81+
secrets: inherit
82+
with:
83+
DOCKERHUB_REPO: demartis/matlab-runtime
84+
DOCKERHUB_TAG: R2020b
85+
DOCKER_CONTEXT: R2020b
86+
87+
R2020b-meshlab:
88+
needs: [ R2020b ]
89+
uses: ./.github/workflows/sub_release.yaml
90+
secrets: inherit
91+
with:
92+
DOCKERHUB_REPO: demartis/matlab-runtime
93+
DOCKERHUB_TAG: R2020b-meshlab
94+
DOCKER_CONTEXT: R2020b-meshlab
95+
96+
R2021a:
97+
uses: ./.github/workflows/sub_release.yaml
98+
secrets: inherit
99+
with:
100+
DOCKERHUB_REPO: demartis/matlab-runtime
101+
DOCKERHUB_TAG: R2021a
102+
DOCKER_CONTEXT: R2021a
103+
104+
R2021a-meshlab:
105+
needs: [ R2021a ]
106+
uses: ./.github/workflows/sub_release.yaml
61107
secrets: inherit
108+
with:
109+
DOCKERHUB_REPO: demartis/matlab-runtime
110+
DOCKERHUB_TAG: R2021a-meshlab
111+
DOCKER_CONTEXT: R2021a-meshlab
112+
113+
R2021b:
114+
uses: ./.github/workflows/sub_release.yaml
115+
secrets: inherit
116+
with:
117+
DOCKERHUB_REPO: demartis/matlab-runtime
118+
DOCKERHUB_TAG: R2021b
119+
DOCKER_CONTEXT: R2021b
120+
121+
R2021b-meshlab:
122+
needs: [ R2021b ]
123+
uses: ./.github/workflows/sub_release.yaml
124+
secrets: inherit
125+
with:
126+
DOCKERHUB_REPO: demartis/matlab-runtime
127+
DOCKERHUB_TAG: R2021b-meshlab
128+
DOCKER_CONTEXT: R2021b-meshlab
129+
130+
R2022a:
131+
uses: ./.github/workflows/sub_release.yaml
132+
secrets: inherit
133+
with:
134+
DOCKERHUB_REPO: demartis/matlab-runtime
135+
DOCKERHUB_TAG: R2022a
136+
DOCKER_CONTEXT: R2022a
137+
138+
R2022a-meshlab:
139+
needs: [ R2022a ]
140+
uses: ./.github/workflows/sub_release.yaml
141+
secrets: inherit
142+
with:
143+
DOCKERHUB_REPO: demartis/matlab-runtime
144+
DOCKERHUB_TAG: R2022a-meshlab
145+
DOCKER_CONTEXT: R2022a-meshlab
146+
147+
R2022b:
148+
uses: ./.github/workflows/sub_release.yaml
149+
secrets: inherit
150+
with:
151+
DOCKERHUB_REPO: demartis/matlab-runtime
152+
DOCKERHUB_TAG: R2022b
153+
DOCKER_CONTEXT: R2022b
154+
155+
R2022b-meshlab:
156+
needs: [ R2022b ]
157+
uses: ./.github/workflows/sub_release.yaml
158+
secrets: inherit
159+
with:
160+
DOCKERHUB_REPO: demartis/matlab-runtime
161+
DOCKERHUB_TAG: R2022b-meshlab
162+
DOCKER_CONTEXT: R2022b-meshlab
163+
164+
R2023a:
165+
uses: ./.github/workflows/sub_release.yaml
166+
secrets: inherit
167+
with:
168+
DOCKERHUB_REPO: demartis/matlab-runtime
169+
DOCKERHUB_TAG: R2023a
170+
DOCKER_CONTEXT: R2023a
171+
is_latest: true
172+
173+
R2023a-meshlab:
174+
needs: [ R2023a ]
175+
uses: ./.github/workflows/sub_release.yaml
176+
secrets: inherit
177+
with:
178+
DOCKERHUB_REPO: demartis/matlab-runtime
179+
DOCKERHUB_TAG: R2023a-meshlab
180+
DOCKER_CONTEXT: R2023a-meshlab
181+
is_latest_meshlab: true

R2019a-meshlab/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@
1111
# execution of compiled MATLAB applications or components. When used together,
1212
# MATLAB, MATLAB Compiler, and the MATLAB Runtime enable you to create and distribute
1313
# numerical applications or software components quickly and securely.
14-
14+
#
15+
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
1516
#
1617
# MeshLab
1718
# the open source system for processing and editing 3D triangular meshes.
1819
# It provides a set of tools for editing, cleaning, healing, inspecting, rendering,
1920
# texturing and converting meshes. It offers features for processing raw data produced by
2021
# 3D digitization tools/devices and for preparing models for 3D printing.
2122
#
22-
#
2323
# @author Riccardo De Martis
24-
# @creation 2021-Jan-27
24+
# @creation 2023-May-11
25+
# @link https://github.com/demartis/matlab_runtime_docker
2526
#
2627

2728
FROM demartis/matlab-runtime:R2019a

R2019a/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
1616
#
1717
# @author Riccardo De Martis
18-
# @creation 2021-Jan-27
18+
# @creation 2023-May-11
1919
# @link https://github.com/demartis/matlab_runtime_docker
2020
#
2121

22-
FROM debian:buster-slim
22+
FROM debian:buster-slim
2323
MAINTAINER Riccardo De Martis <riccardo@demartis.it>
2424
ENV DEBIAN_FRONTEND noninteractive
2525

@@ -28,7 +28,7 @@ RUN apt-get -q update && \
2828
xorg \
2929
unzip \
3030
wget \
31-
curl && \
31+
curl && \
3232
apt-get clean && \
3333
rm -rf /var/lib/apt/lists/*
3434

R2019b-meshlab/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@
1111
# execution of compiled MATLAB applications or components. When used together,
1212
# MATLAB, MATLAB Compiler, and the MATLAB Runtime enable you to create and distribute
1313
# numerical applications or software components quickly and securely.
14-
14+
#
15+
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
1516
#
1617
# MeshLab
1718
# the open source system for processing and editing 3D triangular meshes.
1819
# It provides a set of tools for editing, cleaning, healing, inspecting, rendering,
1920
# texturing and converting meshes. It offers features for processing raw data produced by
2021
# 3D digitization tools/devices and for preparing models for 3D printing.
2122
#
22-
#
2323
# @author Riccardo De Martis
24-
# @creation 2023-May-10
24+
# @creation 2023-May-11
25+
# @link https://github.com/demartis/matlab_runtime_docker
2526
#
2627

2728
FROM demartis/matlab-runtime:R2019b

R2019b/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
1616
#
1717
# @author Riccardo De Martis
18-
# @creation 2023-May-10
18+
# @creation 2023-May-11
1919
# @link https://github.com/demartis/matlab_runtime_docker
2020
#
2121

R2020a-meshlab/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@
1111
# execution of compiled MATLAB applications or components. When used together,
1212
# MATLAB, MATLAB Compiler, and the MATLAB Runtime enable you to create and distribute
1313
# numerical applications or software components quickly and securely.
14-
14+
#
15+
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
1516
#
1617
# MeshLab
1718
# the open source system for processing and editing 3D triangular meshes.
1819
# It provides a set of tools for editing, cleaning, healing, inspecting, rendering,
1920
# texturing and converting meshes. It offers features for processing raw data produced by
2021
# 3D digitization tools/devices and for preparing models for 3D printing.
2122
#
22-
#
2323
# @author Riccardo De Martis
24-
# @creation 2023-May-10
24+
# @creation 2023-May-11
25+
# @link https://github.com/demartis/matlab_runtime_docker
2526
#
2627

2728
FROM demartis/matlab-runtime:R2020a

R2020a/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
1616
#
1717
# @author Riccardo De Martis
18-
# @creation 2023-May-10
18+
# @creation 2023-May-11
1919
# @link https://github.com/demartis/matlab_runtime_docker
2020
#
2121

R2020b-meshlab/Dockerfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
# MATLAB Compiler Runtime (MCR) v9.9 (R2020b)
3+
#
4+
# This docker file will configure an environment into which the Matlab compiler
5+
# runtime will be installed and in which stand-alone matlab routines (such as
6+
# those created with MATLAB's deploytool) can be executed.
7+
8+
# MATLAB Runtime
9+
# Run compiled MATLAB applications or components without installing MATLAB
10+
# The MATLAB Runtime is a standalone set of shared libraries that enables the
11+
# execution of compiled MATLAB applications or components. When used together,
12+
# MATLAB, MATLAB Compiler, and the MATLAB Runtime enable you to create and distribute
13+
# numerical applications or software components quickly and securely.
14+
#
15+
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
16+
#
17+
# MeshLab
18+
# the open source system for processing and editing 3D triangular meshes.
19+
# It provides a set of tools for editing, cleaning, healing, inspecting, rendering,
20+
# texturing and converting meshes. It offers features for processing raw data produced by
21+
# 3D digitization tools/devices and for preparing models for 3D printing.
22+
#
23+
# @author Riccardo De Martis
24+
# @creation 2023-May-11
25+
# @link https://github.com/demartis/matlab_runtime_docker
26+
#
27+
28+
FROM demartis/matlab-runtime:R2020b
29+
MAINTAINER Riccardo De Martis <riccardo@demartis.it>
30+
31+
RUN apt-get -q update && \
32+
apt-get install -q -y --no-install-recommends \
33+
meshlab && \
34+
apt-get clean && \
35+
rm -rf /var/lib/apt/lists/*
36+

R2020b/Dockerfile

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
# MATLAB Compiler Runtime (MCR) v9.9 (R2020b)
3+
#
4+
# This docker file will configure an environment into which the Matlab compiler
5+
# runtime will be installed and in which stand-alone matlab routines (such as
6+
# those created with MATLAB's deploytool) can be executed.
7+
8+
# MATLAB Runtime
9+
# Run compiled MATLAB applications or components without installing MATLAB
10+
# The MATLAB Runtime is a standalone set of shared libraries that enables the
11+
# execution of compiled MATLAB applications or components. When used together,
12+
# MATLAB, MATLAB Compiler, and the MATLAB Runtime enable you to create and distribute
13+
# numerical applications or software components quickly and securely.
14+
#
15+
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
16+
#
17+
# @author Riccardo De Martis
18+
# @creation 2023-May-11
19+
# @link https://github.com/demartis/matlab_runtime_docker
20+
#
21+
22+
FROM debian:buster-slim
23+
MAINTAINER Riccardo De Martis <riccardo@demartis.it>
24+
ENV DEBIAN_FRONTEND noninteractive
25+
26+
RUN apt-get -q update && \
27+
apt-get install -q -y --no-install-recommends \
28+
xorg \
29+
unzip \
30+
wget \
31+
curl && \
32+
apt-get clean && \
33+
rm -rf /var/lib/apt/lists/*
34+
35+
# Download the MCR from MathWorks site an install with -mode silent
36+
RUN mkdir /mcr-install && \
37+
mkdir /opt/mcr && \
38+
cd /mcr-install && \
39+
wget --no-check-certificate -q https://ssd.mathworks.com/supportfiles/downloads/R2020b/Release/8/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2020b_Update_8_glnxa64.zip && \
40+
unzip -q MATLAB_Runtime_R2020b_Update_8_glnxa64.zip && \
41+
rm -f MATLAB_Runtime_R2020b_Update_8_glnxa64.zip && \
42+
./install -destinationFolder /opt/mcr -agreeToLicense yes -mode silent && \
43+
cd / && \
44+
rm -rf mcr-install
45+
46+
# Configure environment variables for MCR
47+
ENV LD_LIBRARY_PATH /opt/mcr/v99/runtime/glnxa64:/opt/mcr/v99/bin/glnxa64:/opt/mcr/v99/sys/os/glnxa64:/opt/mcr/v99/extern/bin/glnxa64
48+
49+
ENV XAPPLRESDIR /etc/X11/app-defaults

R2021a-meshlab/Dockerfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
# MATLAB Compiler Runtime (MCR) v9.10 (R2021a)
3+
#
4+
# This docker file will configure an environment into which the Matlab compiler
5+
# runtime will be installed and in which stand-alone matlab routines (such as
6+
# those created with MATLAB's deploytool) can be executed.
7+
8+
# MATLAB Runtime
9+
# Run compiled MATLAB applications or components without installing MATLAB
10+
# The MATLAB Runtime is a standalone set of shared libraries that enables the
11+
# execution of compiled MATLAB applications or components. When used together,
12+
# MATLAB, MATLAB Compiler, and the MATLAB Runtime enable you to create and distribute
13+
# numerical applications or software components quickly and securely.
14+
#
15+
# See https://www.mathworks.com/products/compiler/matlab-runtime.html for more info.
16+
#
17+
# MeshLab
18+
# the open source system for processing and editing 3D triangular meshes.
19+
# It provides a set of tools for editing, cleaning, healing, inspecting, rendering,
20+
# texturing and converting meshes. It offers features for processing raw data produced by
21+
# 3D digitization tools/devices and for preparing models for 3D printing.
22+
#
23+
# @author Riccardo De Martis
24+
# @creation 2023-May-11
25+
# @link https://github.com/demartis/matlab_runtime_docker
26+
#
27+
28+
FROM demartis/matlab-runtime:R2021a
29+
MAINTAINER Riccardo De Martis <riccardo@demartis.it>
30+
31+
RUN apt-get -q update && \
32+
apt-get install -q -y --no-install-recommends \
33+
meshlab && \
34+
apt-get clean && \
35+
rm -rf /var/lib/apt/lists/*
36+

0 commit comments

Comments
 (0)