Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build docker image for Mac (arm64) #648

Open
jamest-pin opened this issue Apr 23, 2024 · 0 comments
Open

Build docker image for Mac (arm64) #648

jamest-pin opened this issue Apr 23, 2024 · 0 comments

Comments

@jamest-pin
Copy link

jamest-pin commented Apr 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant