The dependency dockerfile( version == 3.1.0) in setup.py depends on go-lang <=1.17 and anything below the go-lang 1.17 is not supported (deprecated) on the M series MacBooks.
Probable Fix:
Bumping dockerfile dependency verison to 3.2.0 (personally checked)
The dependency dockerfile( version == 3.1.0) in setup.py depends on go-lang <=1.17 and anything below the go-lang 1.17 is not supported (deprecated) on the M series MacBooks.
Probable Fix: Bumping dockerfile dependency verison to 3.2.0 (personally checked)