Skip to content

Commit

Permalink
Releases MATLAB R2024b Dependencies for Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
epaganon authored and prabhakk-mw committed Sep 26, 2024
1 parent ed8b605 commit 4a9657f
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/matlab-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-deps/r2024b/ubuntu24.04
name: matlab-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-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-docker-image:
uses: ./.github/workflows/build-and-publish-docker-image.yml
secrets: inherit
with:
docker_build_context: './matlab-deps/r2024b/ubuntu24.04'
base_image_name: mathworks/matlab-deps
matlab_release_tag: 'r2024b'
os_info_tag: 'ubuntu24.04'
is_default_os: false
should_add_latest_tag: false
50 changes: 50 additions & 0 deletions matlab-deps/r2024b/ubuntu24.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Copyright 2024 The MathWorks, Inc.
FROM ubuntu:24.04

LABEL maintainer="The MathWorks"

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

RUN export DEBIAN_FRONTEND=noninteractive \
&& 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

WORKDIR /

# Uncomment the following RUN apt-get statement if you will be using Simulink
# code generation capabilities, or if you will be compiling your own mex files
# with gcc, g++, or gfortran.
#
#RUN export DEBIAN_FRONTEND=noninteractive && apt-get update -y && apt-get install -y gcc g++ gfortran && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/*

# Uncomment the following RUN apt-get statement to enable running a program
# that makes use of MATLAB's Engine API for C and Fortran
# https://www.mathworks.com/help/matlab/matlab_external/introducing-matlab-engine.html
#
#RUN export DEBIAN_FRONTEND=noninteractive && apt-get update -y && apt-get install -y csh && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/*

# Uncomment ALL of the following RUN apt-get statement to enable the playing of media files
# (mp3, mp4, etc.) from within MATLAB.
#
#RUN export DEBIAN_FRONTEND=noninteractive && apt-get update -y && apt-get install --no-install-recommends -y libgstreamer1.0-0 \
# gstreamer1.0-tools \
# gstreamer1.0-libav \
# gstreamer1.0-plugins-base \
# gstreamer1.0-plugins-good \
# gstreamer1.0-plugins-bad \
# gstreamer1.0-plugins-ugly \
# && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/*

# Uncomment the following line if you require the fuse filesystem
#RUN export DEBIAN_FRONTEND=noninteractive && apt-get update -y && apt-get install --no-install-recommends -y libfuse2 && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/*

# Uncomment the following line if you require firefox
#RUN export DEBIAN_FRONTEND=noninteractive && apt-get update -y && apt-get install --no-install-recommends -y firefox && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/*

# Uncomment to resolve any license manager issues
#RUN ln -s /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3
54 changes: 54 additions & 0 deletions matlab-deps/r2024b/ubuntu24.04/base-dependencies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
ca-certificates
debianutils
libasound2t64
libatomic1
libc6
libcairo-gobject2
libcairo2
libcap2
libcrypt1
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
libice6
libltdl7
libnettle8t64
libnspr4
libnss3
libpam0g
libpango-1.0-0
libpangocairo-1.0-0
libpangoft2-1.0-0
libpixman-1-0
libsndfile1
libtirpc3t64
libudev1
libuuid1
libwayland-client0
libxcomposite1
libxcursor1
libxdamage1
libxfixes3
libxfont2
libxft2
libxinerama1
libxrandr2
libxt6t64
libxtst6
libxxf86vm1
locales
locales-all
make
net-tools
procps
sudo
unzip
zlib1g

0 comments on commit 4a9657f

Please sign in to comment.