Build existing intel docker image to work on arm64 processor

I would like to build the docker image to work locally on an arm64 processor. Can I just build it from my machine and it will work, or do I need to update the dockerfile with something specific?

Thank you!

You need to make sure that every parent image (after FROM) used by diffy is arm compatible. I could download both images from the multistage dockerfile to my Mac M1, so it will be probably enough to build it on your machine?

Sometimes scripts can contain code that downloads binaries or sourcecode created for a specific architecture. If you find something like that, then you need to change that too.