nixos-config/devcontainers
Gabriel Arazas eb4352f925
devcontainers: add tag
It's for ease of updating containers in CI.
2025-03-19 13:58:56 +08:00
..
default.nix devcontainers/ruby-on-rails: init with variants 2025-03-15 14:02:05 +08:00
js-backend.nix devcontainers: add tag 2025-03-19 13:58:56 +08:00
README.adoc docs: init README for devcontainers 2025-03-15 16:26:52 +08:00
ruby-on-rails.nix devcontainers: add tag 2025-03-19 13:58:56 +08:00
rust-backend.nix devcontainers: add tag 2025-03-19 13:58:56 +08:00

Docker/OCI containers that are entirely built with Nix ecosystem. For now, it is required to have flakes experimental feature enabled since some of the containers make use of them. [1]

You can build this set of containers with the following command:

# Either by referring to the files (which is easier IMO)...
nix build -f ./devcontainers [NAME] # or no name at all to build all of them.

# ...or by referring to the flake output.
nix build .#devContainers.$SYSTEM.$NAME

This set of containers should also be published at GitHub Container Registry at ghcr.io/foo-dogsquared/nixos-config/$NAME


1. Ideally, it shouldnt but importing other Nix projects is pretty painful unless we go with either flakes and a dedicated pinning tool all the way.