diff --git a/.github/workflows/matlab-runtime-deps-r2024a-ubuntu22.04.yml b/.github/workflows/matlab-runtime-deps-r2024a-ubuntu22.04.yml index 949016d..e3f303e 100644 --- a/.github/workflows/matlab-runtime-deps-r2024a-ubuntu22.04.yml +++ b/.github/workflows/matlab-runtime-deps-r2024a-ubuntu22.04.yml @@ -27,4 +27,4 @@ jobs: matlab_release_tag: 'r2024a' os_info_tag: 'ubuntu22.04' is_default_os: true - should_add_latest_tag: true \ No newline at end of file + should_add_latest_tag: false \ No newline at end of file diff --git a/.github/workflows/matlab-runtime-deps-r2024b-ubuntu24.04.yml b/.github/workflows/matlab-runtime-deps-r2024b-ubuntu24.04.yml new file mode 100644 index 0000000..229d88c --- /dev/null +++ b/.github/workflows/matlab-runtime-deps-r2024b-ubuntu24.04.yml @@ -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 \ No newline at end of file diff --git a/matlab-runtime-deps/README.md b/matlab-runtime-deps/README.md index 9ce0fc5..efaf4a2 100644 --- a/matlab-runtime-deps/README.md +++ b/matlab-runtime-deps/README.md @@ -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 diff --git a/matlab-runtime-deps/r2024b/ubuntu24.04/Dockerfile b/matlab-runtime-deps/r2024b/ubuntu24.04/Dockerfile new file mode 100644 index 0000000..66b0175 --- /dev/null +++ b/matlab-runtime-deps/r2024b/ubuntu24.04/Dockerfile @@ -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 diff --git a/matlab-runtime-deps/r2024b/ubuntu24.04/base-dependencies.txt b/matlab-runtime-deps/r2024b/ubuntu24.04/base-dependencies.txt new file mode 100644 index 0000000..0f2ec78 --- /dev/null +++ b/matlab-runtime-deps/r2024b/ubuntu24.04/base-dependencies.txt @@ -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 \ No newline at end of file