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

CLI not working anymore on docker compose + M1 chip #149

Closed
Jerome1337 opened this issue Nov 28, 2022 · 0 comments · Fixed by #150
Closed

CLI not working anymore on docker compose + M1 chip #149

Jerome1337 opened this issue Nov 28, 2022 · 0 comments · Fixed by #150

Comments

@Jerome1337
Copy link
Contributor

I run the CLI inside a docker compose container on a 2021 M1 chip macbook pro but recently I get this error and I'm not able anymore to run the command

 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Here is an example of the container

fixtures:
  container_name: "load-fixtures"
  image: golang:1.19-alpine
  working_dir: /data
  env_file:
    - .env
  volumes:
    - "./fixtures:/data/fixtures"
    - "./scripts/load-fixtures.sh:/data/load-fixtures.sh"
  entrypoint: ["./load-fixtures.sh"]
  depends_on:
    - db

When I run this container and install the testfixtures binary using wget and latest release, I get the error above.

I test using alpine and golang alpine images without success.

Version used:

  • testfixtures v3.8.1
  • docker 20.10.21
  • docker compose 2.12.2
  • alpine 3.17
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

Successfully merging a pull request may close this issue.

1 participant