Docker
Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.
Images
STM32 CubeIDE
- Download Cube IDE from the official website
Dockerfile
FROM ubuntu:22.04
ENV STM32CUBEIDE_VERSION=1.11.0
ENV DEBIAN_FRONTEND=noninteractive
ENV PATH="${PATH}:/opt/stm32cubeide_${STM32CUBEIDE_VERSION}"
ADD stm32cubeide_${STM32CUBEIDE_VERSION} /opt/stm32cubeide_${STM32CUBEIDE_VERSION}
stm32cubeide \
--launcher.suppressErrors \
-nosplash \
-application org.eclipse.cdt.managedbuilder.core.headlessbuild \
-data . \
-importAll . \
-cleanBuild "my-project/Release"