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

Dev container build fails on Mac M1 devices for the parking_sensors examples #539

Open
meghdivya opened this issue Aug 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@meghdivya
Copy link

meghdivya commented Aug 8, 2022

Description

Platform: Mac M1 RAM
Docker version: Docker version 20.10.17, build 100c701

  • Dev container build fails on Mac M1 devices due to a platform issue in Docker build.

Expected Behavior

  • Dev container should build successfully on Mac M1 device too

Reproduce

  • To reproduce simply follow the devcontainer build step as mentioned in the repository parking_sensors/README.md

Solution

  • Adding platform in the docker-compose file would fix this issue.
  • Another fix could be adding the --platform=linux/amd64 in the parking_sensor/Dockerfile FROM statement.
@meghdivya meghdivya added the bug Something isn't working label Aug 8, 2022
@meghdivya meghdivya changed the title Dev container build fails on Mac M1 devices Dev container build fails on Mac M1 devices for the parking_sensors examples Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant