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

M1 build of the docker image for newman #3154

Open
LewisCowlesMotive opened this issue Oct 4, 2023 · 0 comments
Open

M1 build of the docker image for newman #3154

LewisCowlesMotive opened this issue Oct 4, 2023 · 0 comments

Comments

@LewisCowlesMotive
Copy link

  1. Newman Version (can be found via newman -v): 5.3.1
  2. OS details (type, version, and architecture): osx aarch64 (M1 laptop)
  3. Are you using Newman as a library, or via the CLI? CLI (in docker)
  4. Did you encounter this recently, or has this bug always been there: N/A
  5. Expected behaviour: Runs a native arm64 build of newman
  6. Command / script used to run Newman:
    newman [args]
  7. Sample collection, and auxiliary files (minus the sensitive details):
    N/A
  8. Screenshots (if applicable):
    N/A

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

[Hot]Fix:

git clone https://github.com/postmanlabs/newman.git \
cd newman \
docker build -t postman/newman:alpine --build-arg NEWMAN_VERSION="5.3.1" --build-arg NODE_VERSION="16.16.0" docker/images/alpine

Desired fix:

Adjust CI to build for ARM64 / AARCH64 (they are the same thing, and Mac runs linux docker images instead of being a weirdo like Windows)

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