Skip to content

Customizing a container image

Felipe Torrezan edited this page Mar 6, 2026 · 4 revisions

There are scenarios in which a customized container image is necessary for adding tools, scripts and resources.

The simplest way to customize a container image is to create a new Dockerfile. From a new Dockerfile, a pre-exisitng image can be used as base image. As an example, let's customize the image by adding Python to a base image for Arm with ST device support:

FROM ghcr.io/iarsystems/arm:9.70.4-st

RUN apt update && apt install -y python

Then build your new custom image.

Clone this wiki locally