Skip to content

DRAFT - Nix-based container build system#8393

Open
cherusk wants to merge 1 commit intowindmill-labs:mainfrom
cherusk:nix_based_images
Open

DRAFT - Nix-based container build system#8393
cherusk wants to merge 1 commit intowindmill-labs:mainfrom
cherusk:nix_based_images

Conversation

@cherusk
Copy link
Copy Markdown

@cherusk cherusk commented Mar 16, 2026

Builds windmill container images using Nix dockerTools. Uses pre-built binaries from GitHub releases with autoPatchelfHook for Nix compatibility. Includes wmill-cli, python3, nodejs, bun, uv, docker, nsjail, and other runtime dependencies. Resulting image (~2.18GB) is smaller than upstream slim image (~2.3GB).

Builds windmill container images using Nix dockerTools. Uses pre-built
binaries from GitHub releases with autoPatchelfHook for Nix compatibility.
Includes wmill-cli, python3, nodejs, bun, uv, docker, nsjail, and other
runtime dependencies. Resulting image (~2.18GB) is smaller than upstream
slim image (~2.3GB).
@cherusk
Copy link
Copy Markdown
Author

cherusk commented Mar 16, 2026

As mentioned in discord chat - looked into this.

Gain is modest - roughly 10 % reduction in image size.

Probably not worth the migration ...

I was super curios - because for many of my images - the footprint reduction was drastic - in the realm of 40-50 % sometimes even, so I thought that might apply here as well.

@cherusk
Copy link
Copy Markdown
Author

cherusk commented Mar 16, 2026

It might be useful from other angle - hence I opened the PR nontheless.

Ditch it if of no value at all - but in friendly way please.

@pyranota
Copy link
Copy Markdown
Contributor

I think this is interesting idea

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.

2 participants