lucernae/devcontainer-nix

Plan to support multiarch build

Closed this issue · 1 comments

It's a headache in Apple Silicon because docker downloaded x86_64 image and caused nix recipe inside to break because it is not compatible with host arch.

Proposed plan:

  1. Use gh action from docker official (that can use multiarch build push on a single manifests list, not multiple tags)
  2. Make a base nix Dockerfile that installs nix in the appropriate docker arch convention
  3. Uses nix recipe to build the rest (like current method), to be compatible with devcontainer