Skip to content

Commit

Permalink
Publishes matlab-runtime-deps for MATLAB R2024b.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yufei Shen authored and prabhakk-mw committed Dec 9, 2024
1 parent 6133a14 commit 4a75eaa
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
matlab_release_tag: 'r2024a'
os_info_tag: 'ubuntu22.04'
is_default_os: true
should_add_latest_tag: true
should_add_latest_tag: false
30 changes: 30 additions & 0 deletions .github/workflows/matlab-runtime-deps-r2024b-ubuntu24.04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2024 The MathWorks, Inc.
# Build & Publish matlab-runtime-deps/r2024b/ubuntu24.04
name: matlab-runtime-deps-r2024b-ubuntu24.04

# Define when builds will occur:
on:
# Run workflow when there is a push to the 'main' branch & push includes changes to any files in described path
push:
branches:
- 'main'
paths:
- 'matlab-runtime-deps/r2024b/ubuntu24.04/**'

# Run at 00:00 on every Monday (1st Day of the Week) (See: crontab.guru)
schedule:
- cron: '0 0 * * 1'

workflow_dispatch:

jobs:
build-and-publish-image:
uses: ./.github/workflows/build-test-and-publish-dependencies-image.yml
secrets: inherit
with:
docker_build_context: './matlab-runtime-deps/r2024b/ubuntu24.04'
base_image_name: mathworks/matlab-runtime-deps
matlab_release_tag: 'r2024b'
os_info_tag: 'ubuntu24.04'
is_default_os: true
should_add_latest_tag: true
3 changes: 2 additions & 1 deletion matlab-runtime-deps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ This container includes the dependencies required by MATLAB® Runtime.

| Tags | MATLAB Version | Operating System | Base Image | Usage Notes |
| ------------ |:--------------:| ---------------- |----------- | ----------- |
|[`latest`, `r2024a`, `r2024a-ubuntu22.04`](https://github.com/mathworks-ref-arch/container-images/blob/main/matlab-runtime-deps/r2024a/ubuntu22.04/Dockerfile) | r2024a | Ubuntu 22.04 | ubuntu:22.04 | |
|[`latest`, `r2024b`, `r2024b-ubuntu24.04`](https://github.com/mathworks-ref-arch/container-images/blob/main/matlab-runtime-deps/r2024b/ubuntu24.04/Dockerfile) | r2024b | Ubuntu 24.04 | ubuntu:24.04 | |
|[`r2024a`, `r2024a-ubuntu22.04`](https://github.com/mathworks-ref-arch/container-images/blob/main/matlab-runtime-deps/r2024a/ubuntu22.04/Dockerfile) | r2024a | Ubuntu 22.04 | ubuntu:22.04 | |
|[`r2023b`, `r2023b-ubuntu22.04`](https://github.com/mathworks-ref-arch/container-images/blob/main/matlab-runtime-deps/r2023b/ubuntu22.04/Dockerfile) | r2023b | Ubuntu 22.04 | ubuntu:22.04 | |

## License
Expand Down
12 changes: 12 additions & 0 deletions matlab-runtime-deps/r2024b/ubuntu24.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2024 The MathWorks, Inc.

FROM mw-docker.repositories.mathworks.com/ubuntu:24.04

ENV DEBIAN_FRONTEND="noninteractive" TZ="Etc/UTC"

COPY base-dependencies.txt /tmp/base-dependencies.txt

RUN apt-get update && apt-get install --no-install-recommends -y `cat /tmp/base-dependencies.txt` \
&& apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/*

RUN [ -d /usr/share/X11/xkb ] || mkdir -p /usr/share/X11/xkb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ca-certificates gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-tools libasound2t64 libatomic1 libc6 libcairo-gobject2 libcairo2 libcap2 libcups2t64 libdrm2 libfontconfig1 libfribidi0 libgbm1 libgdk-pixbuf-2.0-0 libgl1 libglib2.0-0t64 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0t64 libgtk2.0-0t64 libice6 libltdl7 libnettle8t64 libnspr4 libnss3 libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libsndfile1 libtirpc3t64 libuuid1 libwayland-client0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont2 libxft2 libxinerama1 libxrandr2 libxt6t64 libxtst6 libxxf86vm1 net-tools procps unzip zlib1g

0 comments on commit 4a75eaa

Please sign in to comment.