Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kachick/containers

⬢🦭
https://github.com/kachick/containers

container-image dockerfile nix

Last synced: about 1 month ago
JSON representation

⬢🦭

Awesome Lists containing this project

README

        

# Containerfile(s)

[![CI - Nix Status](https://github.com/kachick/containers/actions/workflows/ci-nix.yml/badge.svg?branch=main)](https://github.com/kachick/containers/actions/workflows/ci-nix.yml?query=branch%3Amain+)
[![CI - Container Status](https://github.com/kachick/containers/actions/workflows/containers.yml/badge.svg?branch=main)](https://github.com/kachick/containers/actions/workflows/containers.yml?query=branch%3Amain+)

Usage is written in README.md in each images directory.

## Container Images

| Name | Build in loccal | Examples |
| ----------------------------------------------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [ubuntu-nix-systemd](images/ubuntu-nix-systemd) | `task try:systemd USER=user` | [dotfiles](https://github.com/kachick/dotfiles/blob/f81983534aeb9f0db80932f5ae73bd59793b8af4/README.md#L47) |
| [ubuntu-nix-sudoer](images/ubuntu-nix-sudoer) | `task try:sudoer USER=user` | `podman run --user=user --rm -it ghcr.io/kachick/ubuntu-nix-sudoer:latest` |

## Motivation

- I want to avoid using alpine and busybox for base images. Nix official images uses it.
- [nixos/nix](https://hub.docker.com/r/nixos/nix/tags)
- [nixpkgs/nix](https://hub.docker.com/r/nixpkgs/nix) => https://github.com/nix-community/docker-nixpkgs/blob/bfac57f18680c9b2927b9c85a17e5b4cd89c27f2/lib/buildCLIImage.nix#L2