News for hackers. Stuff that matters.
Re:Using Nix with Dockerfiles by bfrog on Wednesday April 26, 2023 @05:19PM (#35720161)
It was near effortless, using the nix dockerTools. The hard part was packaging up all the horrible C++ dependencies involved.

I followed the guide here

https://nixos.org/guides/building-and-running-docker-images....

I ended up with an expression that built an image with my program that took the arch as a parameter.

You can see it here

https://github.com/openenergysolutions/openfmb.adapters/blob... and dig in if you like.

There are no comments on this comment yet.