This repository builds and publishes a minimal Docker image containing [only] the Analog Devices Maxim Microcontrollers SDK (MSDK). The image is designed to speed up building dev containers (or other Docker images) for building, flashing, and testing applications targeting Analog Device's MAX-series (MAX32xxx and MAX78xxx) microcontrollers.
The image is published to the GitHub Container Registry (GHCR) as:
ghcr.io/cnuahs/msdk
This image contains:
- Only the files installed by the official Analog Devices MSDK installer
- No shell, no tools, no system utilities
This image is not a runnable container and is not meant to be executed directly (e.g., via docker run ...
). The image is designed to speed up building dev containers (or other Docker images):
ARG MSDK_VER
FROM ghcr.io/cnuahs/msdk:${MSDK_VER} AS msdk
FROM ubuntu:24.04 AS base
# add build tools, scripts, or application logic here
# add the Maxim SDK...
ARG MAXIM_PATH
ENV MAXIM_PATH=${MAXIM_PATH:-/opt/msdk/${MSDK_VER}}
COPY --from=msdk --link msdk/ ${MAXIM_PATH}
# RUN chown -R ${USER}:${USER} ${MAXIM_PATH}
For a complete dev container built using this image see msdk-devcontainer.git.
To build the image locally:
git clone https://github.com/cnuahs/docker-msdk.git
cd docker-msdk
docker build -t msdk .
This Dockerfile and build environment are provided under the MIT License.
The Analog Devices MSDK itself is licensed separately; refer to its LICENSE.
Issues and PRs are welcome! If you encounter any problems or want to contribute improvements, feel free to open an issue or submit a pull request.