chore: Add support for apple sillicon build machines (#10777)
chore: Add support for apple sillicon build machines (#10777)

* Add support for apple sillicon build machines

When building the docker image on my M1 laptop, I noticed the produced builds are not usable in our Kubernetes cluster (running on x86 nodes).

By passing the DOCKER_PLATFORM build argument to `docker build` I am able to overcome this and build x86 images locally.

Signed-off-by: Alex Eftimie <d0a6bde115f43fc260b20983e4d52a53c03e96e9@getyourguide.com>

* Hardcode platform in dev build (same as we hardcode GOOS and GOARCH)

Signed-off-by: Alex Eftimie <d0a6bde115f43fc260b20983e4d52a53c03e96e9@getyourguide.com>

* Drop platform from build-ui target

It is only used to produce app/dist, not relevant

Signed-off-by: Alex Eftimie <d0a6bde115f43fc260b20983e4d52a53c03e96e9@getyourguide.com>

Signed-off-by: Alex Eftimie <d0a6bde115f43fc260b20983e4d52a53c03e96e9@getyourguide.com>
argoproj/argo-cd,argoproj/argo-cd,argoproj/argo-cd,argoproj/argo-cd,argoproj/argo-cd