docker-nixpkgs icon indicating copy to clipboard operation
docker-nixpkgs copied to clipboard

image with nix and podman

Open das-g opened this issue 3 years ago • 1 comments

It'd be cool to have a single image with

Such a docker image could be used to build other docker images in GitLab CI/CD using nix (e.g. with jupyterWith) and then pushing them to the GitLab container image registry with podman. Doing this with two separate GitLab CI/CD jobs that can run in containers from two separate images (one with nix, another with either docker or podman) is sometimes not feasible, because the resulting image might be too big to pass it as artifact between GitLab CI/CD jobs of a GitLab CI/CD pipeline.

das-g avatar Feb 26 '21 00:02 das-g

An image dedicated to build and push docker images sounds good! Maybe there are other tools that would fit in there.

Take a look at images/cachix, it should give you a good idea on how to add other dependencies.

Alternatively you could also add podman to your nix-shell environment.

zimbatm avatar Feb 26 '21 08:02 zimbatm