87
Ditching Docker for Local Development
(lgug2z.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I use a similar approach, but I went further by creating a system that compose like docker-compose would. The trick was to write my own nix function
mergeShells
.https://her.esy.fun/posts/0024-replace-docker-compose-with-nix-shell/index.html
For now, I am pretty happy with it. Also, I put the init script inside nix-shell and not in external files and use exit signal to cleanup the state.
Thanks for sharing this! Added to my weekend inspiration/reading pile. ๐