Build docker image for Mac (arm64)
jamest-pin opened this issue · comments
Is your feature request related to a problem? Please describe.
I want to run the docker image locally at work first before deploying in CI.
Currently I get this:
~$ docker pull nablac0d3/sslyze:6.0.0
6.0.0: Pulling from nablac0d3/sslyze
no matching manifest for linux/arm64/v8 in the manifest list entries
Describe the solution you'd like
I'd like to be able to pull the docker image from docker hub and run it on my Mac M series.
This could be accomplished by adding one keyword , linux/arm64
to your github actions workflow.
- name: Build and Push
uses: docker/build-push-action@v2 # <<<<<<<< fyi, v5 is the latest.
with:
context: ./
file: ./Dockerfile
platforms: linux/amd64, linux/arm64 # <<<<<<<<< update here
Describe alternatives you've considered
I attempte to git clone and docker build .
myself, but got some python build script error which is above my head to resolve.
Additional context
No additional context. Thanks in advance.
Hello,
I don't know Docker well enough to figure this out...
Hello, I don't know Docker well enough to figure this out...
Hi, @nabla-c0d3 all you need to do is add the single keyword onto the line I recommended. There's not figuring out anything 😢
Just edit this line only:
Add this onto the end of the line: , linux/arm64
that's it 😃
@nabla-c0d3 I did a PR for you in case it helps: #655