Skip to content

chore: restructure node/keeper docker image builds#27

Merged
mfontanini merged 1 commit intomainfrom
chore/shrink-docker-image
Feb 2, 2026
Merged

chore: restructure node/keeper docker image builds#27
mfontanini merged 1 commit intomainfrom
chore/shrink-docker-image

Conversation

@mfontanini
Copy link
Contributor

@mfontanini mfontanini commented Dec 19, 2025

This restructures the way the node and keeper are built so that they're faster to build and generate smaller images:

  • This uses alpine as a base whereas the old one used debian. This shrinks the node's image from ~100MB to ~33MB.
  • This stops doing cross-compilation as we used to and instead builds natively in an arm/amd64 github runner.

These 2 things combined cause the docker build to go from ~17 minutes to ~7 (see the test run I did).

@mfontanini mfontanini force-pushed the chore/shrink-docker-image branch 2 times, most recently from 216edd9 to 8e83191 Compare December 19, 2025 18:53
@mfontanini mfontanini force-pushed the chore/shrink-docker-image branch 5 times, most recently from 3920bf3 to ef864f6 Compare January 29, 2026 21:17
@mfontanini mfontanini changed the title chore: shrink niluv_node docker image chore: restructure node/keeper docker image builds Jan 29, 2026
@mfontanini mfontanini force-pushed the chore/shrink-docker-image branch from ef864f6 to d9020d7 Compare January 29, 2026 21:39
Copy link
Member

@jcabrero jcabrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mfontanini mfontanini merged commit 8539324 into main Feb 2, 2026
1 check passed
@mfontanini mfontanini deleted the chore/shrink-docker-image branch February 2, 2026 22:02
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.

3 participants