Skip to content

Update Docker to add multi-stage build#48

Merged
lmolina merged 2 commits intoSiliconLabs:mainfrom
lmolina:task/lamolina/multi-stage-docker/main
Mar 24, 2026
Merged

Update Docker to add multi-stage build#48
lmolina merged 2 commits intoSiliconLabs:mainfrom
lmolina:task/lamolina/multi-stage-docker/main

Conversation

@lmolina
Copy link
Copy Markdown
Collaborator

@lmolina lmolina commented Mar 22, 2026

Introduces separate Docker stages for development workflow:

  • base: minimal system setup (apt sources, sudo, make)
  • dev: build dependencies installed, no project build
  • runtime: full build (original behavior)

The dev target supports volume mounting for iterative development.

@lmolina lmolina force-pushed the task/lamolina/multi-stage-docker/main branch from 60ded4f to 349ae09 Compare March 22, 2026 22:01
Introduces separate Docker stages for development workflow:
- base: minimal system setup (apt sources, sudo, make)
- dev: build dependencies installed, no project build
- runtime: full build (original behavior)

The dev target supports volume mounting for iterative development.

Signed-off-by: Laudin Molina Troconis <laudin.molinatroconis@silabs.com>
@lmolina lmolina force-pushed the task/lamolina/multi-stage-docker/main branch from 349ae09 to d562e99 Compare March 23, 2026 14:39
Allows to build a container image for i386 and arm32. Additionally,
using an explicit registry, so that it's compatible with Podman out of
the box.
@lmolina lmolina force-pushed the task/lamolina/multi-stage-docker/main branch from 3b21f8f to b643d8c Compare March 24, 2026 08:13
@lmolina lmolina merged commit d90e936 into SiliconLabs:main Mar 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant