iegomez / mosquitto-go-auth

Auth plugin for mosquitto.
MIT License
495 stars 165 forks source link

TARGETPLATFORM does not include linux/amd64 in Dockerfile #304

Closed spencerfeng closed 6 months ago

spencerfeng commented 8 months ago

Hi @iegomez,

I would like to build the docker image for linux/amd64 platform, but I noticed that TARGETPLATFORM does not include linux/amd64 in Dockerfile.

How can I achieve it?

iegomez commented 6 months ago

I haven't checked on this for a very long while, but if I recall correctly it'll build for linux/amd64 by default if you don't define a TARGETPLATFORM. That is, that arg is for cross compiling to other archs.

spencerfeng commented 6 months ago

Hi @iegomez, this is not an issue. We can close this.