Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image with nix and podman #17

Open
das-g opened this issue Feb 26, 2021 · 1 comment
Open

image with nix and podman #17

das-g opened this issue Feb 26, 2021 · 1 comment

Comments

@das-g
Copy link
Contributor

das-g commented Feb 26, 2021

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.

@zimbatm
Copy link
Member

zimbatm commented Feb 26, 2021

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.

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

No branches or pull requests

2 participants