Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kachick/containers
⬢🦭
https://github.com/kachick/containers
container-image dockerfile nix
Last synced: about 1 month ago
JSON representation
⬢🦭
- Host: GitHub
- URL: https://github.com/kachick/containers
- Owner: kachick
- License: mit
- Created: 2023-07-09T11:23:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T01:59:48.000Z (about 1 month ago)
- Last Synced: 2024-12-09T03:00:46.740Z (about 1 month ago)
- Topics: container-image, dockerfile, nix
- Language: Dockerfile
- Homepage:
- Size: 210 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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