cytopia/docker-eslint

Support for multi architecture

Closed this issue · 1 comments

I am on mac with M1.
When I try to run the image.

 docker run -it --rm -v $(pwd):/data cytopia/eslint  --fix './resources/**/*.{ts,tsx}'
Unable to find image 'cytopia/eslint:latest' locally
latest: Pulling from cytopia/eslint
188c0c94c7c5: Already exists 
de87accb54ce: Pull complete 
509f719f6236: Pull complete 
a8041d073463: Pull complete 
Digest: sha256:de4d559d59dcd24c5910e32a2d0da52d3f2d376e812a67388716ba4805914b3e
Status: Downloaded newer image for cytopia/eslint:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

You could add multi architecture build by following command.
https://github.com/Legion112/docker-phpcov/blob/main/Makefile#L3-L4

@Legion112 will be available shortly via #14