daz / dji-thermal-sdk-docker

12 stars 3 forks source link

M1 Mac installation #3

Closed chris-lorenz closed 2 years ago

chris-lorenz commented 2 years ago

Hi, you write, that it's possible to use this on a m1 Mac but how exactly do you build it? What statement do you need for "--platform" and do I have to change any other part of the code when running it while being in the same directory where the Dockerfile is?

Maybe you can help, because I can't find any information about how to install something via a dockerfile when using a Mac.

daz commented 2 years ago

Try:

git clone https://github.com/daz/dji-thermal-sdk-docker
cd dji-thermal-sdk-docker
docker buildx install
docker buildx build --platform linux/amd64 --load -t djithermal .
chris-lorenz commented 2 years ago

Thx, it worked. :)

daz commented 2 years ago

Awesome 😎