Add the needed dependencies and comments to the docker file
Fix Build Issues and Enhance Dockerfile with Additional Dependencies and Documentation
While attempting to build the original Dockerfile, I encountered several issues that prevented a successful build. To resolve these problems, I have updated the Dockerfile by adding necessary dependencies and providing detailed comments for better clarity and maintainability. Key changes include:
• Added Dependencies:
• Installed libinih-dev, fuse, and wget to address missing packages required for the build process.
• External Libraries:
• Cloned and built Exiv2, GeographicLib, and zlib from source to ensure compatibility and use the latest versions.
• Additional Repositories:
• Integrated ParameterRepository, SDL_GameControllerDB, and PX4-GPSDrivers by cloning their repositories and placing them in the appropriate project directories.
• Build Enhancements:
• Built and tested PX4-GPSDrivers to verify proper integration and functionality within the project.
• Improved Documentation:
• Added comprehensive comments throughout the Dockerfile to explain each step and configuration, enhancing readability and ease of maintenance.
These updates not only fix the build issues encountered with the original Dockerfile but also streamline the build process, ensure all necessary components are included, and improve the Dockerfile’s overall readability and maintainability.
We have a CI build that builds via docker just fine right now. Any idea why this was needed for you?
While I was locally building it, I encountered issues, and tried to edit the docker file. I'm not sure what caused the issues on my end. If the CI builds it fine then there is no need for this PR.
If possible try to do the docker run also, because I was able to build the container but trying to run it and compiling the Codes wasn't successful !
I'm going to keep this open for now until I can get a chance to look at it closer if you don't mind. I like the added documentation/comments anyways
Sure, I would love to contribute ! Please let me know if there’s anything else.