Nix logo with 2 arrows, each pointing to the Rust logo, and Docker.

Create Rust binaries, and Docker images with Nix

Introduction A few days ago, I released the abomination of a project called emojied (website, repo) to the world. It went great, I’m glad people found it funny. However, I’m not too pleased with the deployment process: from building the project to shipping it. I made heavy use of Docker to build the necessary static assets, and binary. Here’s the current setup: Dev environment PostgreSQL (handled by NixOS) rustc, openssl, cargo, etc....

April 11, 2022 · 13 min · sekun