Skip to content

Add container image#1216

Open
SupremeMortal wants to merge 1 commit intospacebarchat:masterfrom
SupremeMortal:container-image
Open

Add container image#1216
SupremeMortal wants to merge 1 commit intospacebarchat:masterfrom
SupremeMortal:container-image

Conversation

@SupremeMortal
Copy link
Contributor

Adds container image and accompanying GitHub Workflow to build the image and deploy to GitHub's own registry.

@TheArcaneBrony
Copy link
Member

It's been a full year, but I wonder if we could use Nix for this? Tried building a simple image with it, and it resulted in a 298M tarball?

@thijsvanloef
Copy link

Nix is great for reproducible builds, but Docker and Nix serve different purposes and work well together. Docker provides a reproducible runtime environment for deployment, while Nix ensures your builds are deterministic. Using Nix to build your application and Docker to package it gives you the strengths of both: reliable builds and consistent deployment across machines. Even if a Nix-built image is larger, Docker’s portability and isolation make it the right tool for shipping and running applications.

@anotherdoesnm
Copy link

you can already build docker image with nix

@TheArcaneBrony
Copy link
Member

There's also work in progress to publish the nix-built OCI containers to ghcr, but that's not my area of expertise so i'll defer :)

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.

4 participants