Hacker News new | ask | show | jobs
by sandGorgon 2066 days ago
Thank you so much for replying! Could you go into some details?

So how do you bake your code in your base image ?

I'm referring to the developer experience here :

1. do you develop on x86 (mac, win, linux)?

2. Where do you build the arm docker images ? On your laptop - is it even possible.

3. Which build CI do you use to cross build arm?

1 comments

1) most of the team is on MBP 16 inch models. I know there is one and may be two on 13 inch models.

2 and 3 I’ll answer to the “best of my knowledge” but on the professional level it’s something my team doesn’t handle (I do wish I knew more!). Features get merged to dev/stage/main and trigger blue-green rolling deploys based on whatever is configured. The deploy is handled through AWS CodeDeploy (not my choice, also not my teams jurisdiction) which handles ticket validation/testing/deploying to whatever k8s cluster/manual deployment rollover if needed.

I believe you can build ARM images from Docker, or at least I have a vague recollection of doing so for a Raspberry Pi, on a normal x86 machine

this is super interesting. it stands to reason that CodeDeploy would support docker crossbuild.

In my team we mandate testing docker images on local dev machines before rolling to production, so i was wondering how the cross-compiles, etc would work . But this is helpful. thanks!