Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Match dev env to prod env?


No, as their MDM solution only works on Macs.


In fairness, the opposite way usually ends up being much cheaper: make prod run arm64

I would guess that just `alias docker="docker --platform=linux/amd64"` type thing would go a long way toward evicting those platform mismatches[1]. I would also guess there's a way to switch off the binfmt "helper" in colima such that trying to run arm64 in the VM would immediately puke rather than silently helping you

1: or, of course, don't push production containers from your workstation, but the years have taught me that I'm talking to myself


All of this is an effort to validate that building works on all environments.

> alias docker="docker --platform=linux/amd64"

I think that on its own breaks a Rust project which uses openssl with the vendored feature.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: