Skip to content

Please do not add the -amd64 suffix to base-dependencies.txt #16

Description

@maben-mw

Over time we have written many custom Dockerfiles with snippets like the following to install the correct native dependencies for MATLAB:

ARG MATLAB_RELEASE=r2026a
ADD https://raw.githubusercontent.com/mathworks-ref-arch/container-images/main/matlab-deps/${MATLAB_RELEASE}/ubuntu24.04/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/*

This has worked perfectly fine across many releases but this snippet will now break with the newly published R2026b base dependencies since base-dependencies.txt has now been renamed to base-dependencies-amd64.txt. I would now need to go back and add extra logic/args to all these builds to be able to support R2026b.

I appreciate that there needs to be a distinction between the amd64 and arm64 versions but can you please leave the amd64 filenames as they were and only add a -arm64 suffix for the arm version? (Or at least also keep a base-dependencies.txt with the amd64 list).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions