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

Problem to build your dockerfile #6

Open
elgarbe opened this issue Mar 2, 2024 · 2 comments
Open

Problem to build your dockerfile #6

elgarbe opened this issue Mar 2, 2024 · 2 comments

Comments

@elgarbe
Copy link

elgarbe commented Mar 2, 2024

Hi, first of all, thank you for sharing your work.
I'm using an odroid XU4 (ARM32v7) with a robot, trying to get ros2 humble working on it.
I manage to build humble sources on the odroid.
Now I would like to do the same but in docker. So I found your repo and start working with it. I made a copy of your Dockerfile.humble and change a little bit. I use my own ros2.repos, which is the same as yours but with rviz2 and visualization packages removed.
Everything is working fine but I can't get all packages build.
I see on your readme that you talk about cross compile. That is mean that I can run docker buildx build -t rclex/arm32v7_ros_docker:humble -f Dockerfile.humble . on an Ubuntu PC and get all package compiled for odroid? Once I get the image may I push to dockerhub and then pull on Odroid computer?
Thank

@takasehideki
Copy link
Member

takasehideki commented Mar 20, 2024

Hi @elgarbe, thank you for posting on this, but sorry for my late reply,,,
First of all, as we mentioned at README, please understand that our motivation to prepare this repository and Docker image is just for Rclex on Nerves. This means that we don't have experience operating the image built from our Dockerfile on the actual board (this is not required for our project).

However, I don't think this Dockerfile and image don't work fine on your board. At least --platform linux/arm/v7 option should be required (this is a README deficiency, will be corrected later).

If you want, please share details of your issue with your Dockerfile. I may be able to help you.

@takasehideki
Copy link
Member

Sorry for confusion. --platform linux/arm/v7 option was not required because this Dockerfile is based on the arm32 image. See the detail at #8.

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

2 participants