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

Correct platform name for arm64 docker image #43

Closed
wants to merge 2 commits into from

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Oct 8, 2023

When building with podman-compose on my Mac, I was seeing the below issue:

[2/3] STEP 1/3: FROM docker.io/bluerobotics/blueos-base:v0.0.10 AS downloadBinaries
Trying to pull docker.io/bluerobotics/blueos-base:v0.0.10...
Error: creating build container: choosing an image from manifest list docker://bluerobotics/blueos-base:v0.0.10: no image found in image index for architecture arm64, variant "v8", OS linux

exit code: 125

I believe this is because the wrong platform string is provided.

When building with `podman-compose` on my Mac, I was seeing the below issue:
```
[2/3] STEP 1/3: FROM docker.io/bluerobotics/blueos-base:v0.0.10 AS downloadBinaries
Trying to pull docker.io/bluerobotics/blueos-base:v0.0.10...
Error: creating build container: choosing an image from manifest list docker://bluerobotics/blueos-base:v0.0.10: no image found in image index for architecture arm64, variant "v8", OS linux

exit code: 125
```

I believe this is because the wrong platform string is provided.
@rotu
Copy link
Contributor Author

rotu commented Oct 8, 2023

I think this was previously discussed in 010d021#r1088281375 but seems to have been forgotten.

@rotu
Copy link
Contributor Author

rotu commented Oct 11, 2023

Original issue might not be actual cause of my problem. Could be a problem in podman compose instead: containers/podman-compose#551

It might not be a safe assumption that arm = raspberry pi but I don't know what the rpi-specific stuff does on GStreamer when running on a different machine.

It also seems like this brings the platform strings in line with BlueOS. Not sure what the effect of this mismatch is on current builds: https://github.com/bluerobotics/BlueOS/blob/73551358b002786d6ae921964db73b2a110d0f48/.github/workflows/test-and-deploy.yml#L86

@patrickelectric
Copy link
Member

cherry-picked to #48, thanks @rotu !

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 this pull request may close these issues.

None yet

2 participants