openark / orchestrator

MySQL replication topology management and HA
Apache License 2.0
5.62k stars 927 forks source link

fix: dockerfile support target platform args #1504

Open shanshanying opened 5 months ago

shanshanying commented 5 months ago

Description

Add TARGETOS and TARGETRCH args in dockerfile.

You can build cross platform docker images. e.g.

docker build . -f ./docker/Dockerfile  --platform linux/arm64 -t orchestrator:v3.2.3

or

docker build . -f ./docker/Dockerfile  --platform linux/amd64 -t orchestrator:v3.2.3